C7
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -16,6 +16,7 @@ http {
|
||||
|
||||
upstream backend_a {
|
||||
server backend-a:80;
|
||||
server backend-a2:80;
|
||||
}
|
||||
|
||||
upstream backend_b {
|
||||
|
||||
Reference in New Issue
Block a user