backend changes

This commit is contained in:
Chandini 2025-09-22 10:35:15 +05:30
parent 820fc614bb
commit 4efbe6e2e6
4 changed files with 19 additions and 19 deletions

View File

@ -6,14 +6,14 @@
// ======================================== // ========================================
// LIVE PRODUCTION URLS (Currently Active) // LIVE PRODUCTION URLS (Currently Active)
// ======================================== // ========================================
// const FRONTEND_URL = 'https://dashboard.codenuk.com'; const FRONTEND_URL = 'https://dashboard.codenuk.com';
// const BACKEND_URL = 'https://backend.codenuk.com'; const BACKEND_URL = 'https://backend.codenuk.com';
// ======================================== // ========================================
// LOCAL DEVELOPMENT URLS // LOCAL DEVELOPMENT URLS
// ======================================== // ========================================
const FRONTEND_URL = 'http://192.168.1.17:3001'; // const FRONTEND_URL = 'http://192.168.1.17:3001';
const BACKEND_URL = 'http://192.168.1.17:8000'; // const BACKEND_URL = 'http://192.168.1.17:8000';
// ======================================== // ========================================
// CORS CONFIGURATION (Auto-generated) // CORS CONFIGURATION (Auto-generated)

View File

@ -2,16 +2,16 @@
NODE_ENV=development NODE_ENV=development
PORT=8000 PORT=8000
# Service Targets (for local gateway, Docker services) # Service Targets (for Docker services)
USER_AUTH_URL=http://localhost:8011 USER_AUTH_URL=http://user-auth:8011
TEMPLATE_MANAGER_URL=http://localhost:8009 TEMPLATE_MANAGER_URL=http://template-manager:8009
REQUIREMENT_PROCESSOR_URL=http://localhost:8001 REQUIREMENT_PROCESSOR_URL=http://requirement-processor:8001
TECH_STACK_SELECTOR_URL=http://localhost:8002 TECH_STACK_SELECTOR_URL=http://tech-stack-selector:8002
ARCHITECTURE_DESIGNER_URL=http://localhost:8003 ARCHITECTURE_DESIGNER_URL=http://architecture-designer:8003
CODE_GENERATOR_URL=http://localhost:8004 CODE_GENERATOR_URL=http://code-generator:8004
TEST_GENERATOR_URL=http://localhost:8005 TEST_GENERATOR_URL=http://test-generator:8005
DEPLOYMENT_MANAGER_URL=http://localhost:8006 DEPLOYMENT_MANAGER_URL=http://deployment-manager:8006
DASHBOARD_URL=http://localhost:8008 DASHBOARD_URL=http://dashboard:8008
# Infrastructure # Infrastructure
REDIS_HOST=redis REDIS_HOST=redis
@ -28,10 +28,10 @@ RABBITMQ_USER=pipeline_admin
RABBITMQ_PASSWORD=secure_rabbitmq_password RABBITMQ_PASSWORD=secure_rabbitmq_password
# CORS # CORS
FRONTEND_URL=http://192.168.1.17:3001 FRONTEND_URL=https://dashboard.codenuk.com
# CORS Configuration # CORS Configuration
CORS_ORIGIN=http://192.168.1.17:3001 CORS_ORIGIN=https://dashboard.codenuk.com
CORS_METHODS=GET,POST,PUT,DELETE,PATCH,OPT CORS_METHODS=GET,POST,PUT,DELETE,PATCH,OPT
IONS IONS
CORS_CREDENTIALS=true CORS_CREDENTIALS=true

View File

@ -55,7 +55,7 @@ global.io = io;
// Service targets configuration // Service targets configuration
const serviceTargets = { const serviceTargets = {
USER_AUTH_URL: process.env.USER_AUTH_URL || 'http://localhost:8011', USER_AUTH_URL: process.env.USER_AUTH_URL || 'http://localhost:8011',
TEMPLATE_MANAGER_URL: process.env.TEMPLATE_MANAGER_URL || 'http://192.168.1.17:8009', TEMPLATE_MANAGER_URL: process.env.TEMPLATE_MANAGER_URL || 'http://template-manager:8009',
GIT_INTEGRATION_URL: process.env.GIT_INTEGRATION_URL || 'http://localhost:8012', GIT_INTEGRATION_URL: process.env.GIT_INTEGRATION_URL || 'http://localhost:8012',
REQUIREMENT_PROCESSOR_URL: process.env.REQUIREMENT_PROCESSOR_URL || 'http://localhost:8001', REQUIREMENT_PROCESSOR_URL: process.env.REQUIREMENT_PROCESSOR_URL || 'http://localhost:8001',
TECH_STACK_SELECTOR_URL: process.env.TECH_STACK_SELECTOR_URL || 'http://localhost:8002', TECH_STACK_SELECTOR_URL: process.env.TECH_STACK_SELECTOR_URL || 'http://localhost:8002',

View File

@ -16,8 +16,8 @@ GMAIL_APP_PASSWORD=your-app-password
# Service Configuration # Service Configuration
PORT=8011 PORT=8011
NODE_ENV=development NODE_ENV=development
FRONTEND_URL=http://localhost:3000 FRONTEND_URL=https://dashboard.codenuk.com
AUTH_PUBLIC_URL=http://localhost:8011 AUTH_PUBLIC_URL=https://backend.codenuk.com
# Database Configuration # Database Configuration
POSTGRES_HOST=postgres POSTGRES_HOST=postgres