fix: switch API pools atomically

This commit is contained in:
2026-10-09 13:39:09 +03:00
parent 3fde1c324c
commit 37d93c340e
5 changed files with 144 additions and 59 deletions
+2
View File
@@ -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