forked from mtusi2026/mtusi2026lab3
Fix nginx routing
This commit is contained in:
@@ -50,10 +50,15 @@ services:
|
||||
|
||||
nginx:
|
||||
image: nginx:1.28.0-alpine
|
||||
entrypoint: [sh, /etc/nginx/readiness.sh]
|
||||
dns_opt:
|
||||
- timeout:1
|
||||
- attempts:1
|
||||
ports:
|
||||
- '127.0.0.1:${APP_PORT:-8080}:8080'
|
||||
volumes:
|
||||
- ./infra/nginx.conf:/etc/nginx/nginx.conf:ro
|
||||
- ./infra/readiness.sh:/etc/nginx/readiness.sh:ro
|
||||
networks: [edge, backend]
|
||||
depends_on:
|
||||
api:
|
||||
|
||||
Reference in New Issue
Block a user