Update backend and frontend service ports to 12015 and 12016; adjust healthcheck and environment variables accordingly
This commit is contained in:
@@ -14,13 +14,13 @@ services:
|
||||
networks:
|
||||
- app-network
|
||||
healthcheck:
|
||||
test: [ "CMD", "curl", "-f", "http://localhost:12000/health" ]
|
||||
test: [ "CMD", "curl", "-f", "http://localhost:12015/health" ]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 5s
|
||||
expose:
|
||||
- "12000"
|
||||
- "12015"
|
||||
|
||||
frontend:
|
||||
build:
|
||||
@@ -28,14 +28,14 @@ services:
|
||||
dockerfile: Dockerfile
|
||||
environment:
|
||||
- FLASK_SECRET_KEY=${FLASK_SECRET_KEY}
|
||||
- BACKEND_URL=${BACKEND_URL:-http://backend:12000}
|
||||
- BACKEND_URL=${BACKEND_URL:-http://backend:12015}
|
||||
depends_on:
|
||||
backend:
|
||||
condition: service_healthy
|
||||
networks:
|
||||
- app-network
|
||||
expose:
|
||||
- "12001"
|
||||
- "12016"
|
||||
|
||||
networks:
|
||||
app-network:
|
||||
|
||||
Reference in New Issue
Block a user