fix: isolate runtime upstream mount
CI / verify (pull_request) Successful in 6m36s

This commit is contained in:
2026-10-09 13:46:43 +03:00
parent 99cc86766f
commit 13151e66aa
4 changed files with 6 additions and 3 deletions
+1
View File
@@ -29,6 +29,7 @@ COPY monitoring/grafana/dashboards /etc/grafana/dashboards
FROM nginx:1.30.5-alpine AS loadbalancer
COPY nginx/nginx.conf /etc/nginx/nginx.conf
COPY nginx/upstream.conf /etc/nginx/conf.d/upstream.conf
FROM alpine:3.24.2
-2
View File
@@ -177,8 +177,6 @@ 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
+4
View File
@@ -0,0 +1,4 @@
services:
nginx:
volumes:
- ${NGINX_UPSTREAM_FILE:?NGINX_UPSTREAM_FILE is required}:/etc/nginx/conf.d/upstream.conf:ro
+1 -1
View File
@@ -34,7 +34,7 @@ load_manifest() {
}
compose() {
docker compose -f compose.yaml -f deploy/compose.images.yaml "$@"
docker compose -f compose.yaml -f deploy/compose.images.yaml -f deploy/compose.runtime.yaml "$@"
}
container_name() {