forked from mtusi2026/mtusi2026lab4
fix: switch API pools atomically
This commit is contained in:
@@ -177,6 +177,8 @@ services:
|
||||
image: ${NGINX_IMAGE:-mtusi-nginx:lab4}
|
||||
ports:
|
||||
- "${API_BIND_ADDRESS}:8080"
|
||||
volumes:
|
||||
- ${NGINX_UPSTREAM_FILE:-./nginx/upstream.conf}:/etc/nginx/conf.d/upstream.conf:ro
|
||||
depends_on:
|
||||
api:
|
||||
condition: service_healthy
|
||||
|
||||
Reference in New Issue
Block a user