Initialize reverse proxy and TLS workshop lab setup
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
name: htl-workshop
|
||||
|
||||
services:
|
||||
reverse-proxy:
|
||||
image: nginx:1.27-alpine
|
||||
container_name: workshop-proxy
|
||||
depends_on:
|
||||
- backend-a
|
||||
- backend-b
|
||||
ports:
|
||||
- "${HTTP_PORT:-8080}:80"
|
||||
volumes:
|
||||
- ./proxy/nginx.conf:/etc/nginx/nginx.conf:ro,z
|
||||
- ./proxy/html:/usr/share/nginx/html:ro,z
|
||||
|
||||
backend-a:
|
||||
image: nginx:1.27-alpine
|
||||
container_name: workshop-backend-a
|
||||
volumes:
|
||||
- ./backends/a:/usr/share/nginx/html:ro,z
|
||||
|
||||
backend-b:
|
||||
image: nginx:1.27-alpine
|
||||
container_name: workshop-backend-b
|
||||
volumes:
|
||||
- ./backends/b:/usr/share/nginx/html:ro,z
|
||||
Reference in New Issue
Block a user