Compare commits
2 Commits
8308d205e8
...
v1.0.13
| Author | SHA1 | Date | |
|---|---|---|---|
| 75d3d6dc39 | |||
| 3d882656e3 |
@@ -394,7 +394,7 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
frontend_ok=false
|
frontend_ok=false
|
||||||
if curl -kfsS "https://localhost:${frontend_host_port}/" >/dev/null 2>&1; then
|
if curl -fsS "http://localhost:${frontend_host_port}/" >/dev/null 2>&1; then
|
||||||
frontend_ok=true
|
frontend_ok=true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -25,10 +25,10 @@ services:
|
|||||||
image: git.ryankegel.com:3000/kegel/chores/frontend:latest # Or specific version tag
|
image: git.ryankegel.com:3000/kegel/chores/frontend:latest # Or specific version tag
|
||||||
container_name: chores-app-frontend-prod # Added for easy identification
|
container_name: chores-app-frontend-prod # Added for easy identification
|
||||||
ports:
|
ports:
|
||||||
- "${FRONTEND_HOST_PORT:-4601}:${FRONTEND_CONTAINER_PORT:-443}" # Host port -> Container 443 (HTTPS) or 80 (HTTP)
|
- "${FRONTEND_HOST_PORT:-4601}:${FRONTEND_CONTAINER_PORT:-80}" # Host port -> Container 80 (HTTP; SSL terminated by external proxy)
|
||||||
environment:
|
environment:
|
||||||
- BACKEND_HOST=chores-app-backend # Points to internal backend service
|
- BACKEND_HOST=chores-app-backend # Points to internal backend service
|
||||||
- FRONTEND_SSL_ENABLED=${FRONTEND_SSL_ENABLED:-true}
|
- FRONTEND_SSL_ENABLED=false
|
||||||
depends_on:
|
depends_on:
|
||||||
- chores-app-backend
|
- chores-app-backend
|
||||||
networks:
|
networks:
|
||||||
|
|||||||
Reference in New Issue
Block a user