fix(frontend): wire sports-center service URL into frontend container
The BFF proxy defaulted to localhost:8006 inside Docker, causing fetch failed on all /api/sports-center routes. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
57ea594334
commit
fb05937790
@ -511,6 +511,8 @@ services:
|
|||||||
BEAUTY_BUSINESS_SERVICE_URL: ${BEAUTY_BUSINESS_SERVICE_URL:-http://beauty-business-service:8011}
|
BEAUTY_BUSINESS_SERVICE_URL: ${BEAUTY_BUSINESS_SERVICE_URL:-http://beauty-business-service:8011}
|
||||||
NEXT_PUBLIC_HOSPITALITY_API_URL: ${NEXT_PUBLIC_HOSPITALITY_API_URL:-http://localhost:8009}
|
NEXT_PUBLIC_HOSPITALITY_API_URL: ${NEXT_PUBLIC_HOSPITALITY_API_URL:-http://localhost:8009}
|
||||||
HOSPITALITY_SERVICE_URL: ${HOSPITALITY_SERVICE_URL:-http://hospitality-service:8009}
|
HOSPITALITY_SERVICE_URL: ${HOSPITALITY_SERVICE_URL:-http://hospitality-service:8009}
|
||||||
|
NEXT_PUBLIC_SPORTS_CENTER_API_URL: ${NEXT_PUBLIC_SPORTS_CENTER_API_URL:-http://localhost:8006}
|
||||||
|
SPORTS_CENTER_SERVICE_URL: ${SPORTS_CENTER_SERVICE_URL:-http://sports-center-service:8006}
|
||||||
# polling برای hot-reload پایدار روی volume mount ویندوز
|
# polling برای hot-reload پایدار روی volume mount ویندوز
|
||||||
WATCHPACK_POLLING: "true"
|
WATCHPACK_POLLING: "true"
|
||||||
CHOKIDAR_USEPOLLING: "true"
|
CHOKIDAR_USEPOLLING: "true"
|
||||||
|
|||||||
@ -83,6 +83,7 @@ NEXT_PUBLIC_KEYCLOAK_CLIENT_ID=superapp-frontend
|
|||||||
NEXT_PUBLIC_ACCOUNTING_API_URL=https://accounting.torbatyar.ir
|
NEXT_PUBLIC_ACCOUNTING_API_URL=https://accounting.torbatyar.ir
|
||||||
NEXT_PUBLIC_CRM_API_URL=https://crm.torbatyar.ir
|
NEXT_PUBLIC_CRM_API_URL=https://crm.torbatyar.ir
|
||||||
NEXT_PUBLIC_HEALTHCARE_API_URL=https://healthcare.torbatyar.ir
|
NEXT_PUBLIC_HEALTHCARE_API_URL=https://healthcare.torbatyar.ir
|
||||||
|
NEXT_PUBLIC_SPORTS_CENTER_API_URL=https://sports-center.torbatyar.ir
|
||||||
|
|
||||||
ACCOUNTING_SERVICE_URL=http://accounting-service:8002
|
ACCOUNTING_SERVICE_URL=http://accounting-service:8002
|
||||||
ACCOUNTING_DATABASE_URL=postgresql+asyncpg://superapp:superapp_password@postgres:5432/accounting_db
|
ACCOUNTING_DATABASE_URL=postgresql+asyncpg://superapp:superapp_password@postgres:5432/accounting_db
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user