This commit is contained in:
AlexBa16
2026-06-01 16:28:18 +02:00
parent 68d44714ac
commit 4d2b1f9c75
2 changed files with 8 additions and 0 deletions
+7
View File
@@ -6,6 +6,7 @@ services:
container_name: workshop-proxy
depends_on:
- backend-a
- backend-a2
- backend-b
- backend-c
ports:
@@ -20,6 +21,12 @@ services:
volumes:
- ./backends/a:/usr/share/nginx/html:ro,z
backend-a2:
image: nginx:1.27-alpine
container_name: workshop-backend-a2
volumes:
- ./backends/a2:/usr/share/nginx/html:ro,z
backend-b:
image: nginx:1.27-alpine
container_name: workshop-backend-b
+1
View File
@@ -16,6 +16,7 @@ http {
upstream backend_a {
server backend-a:80;
server backend-a2:80;
}
upstream backend_b {