Files
hse-2026/materials/08-scaling/seminar/nginx-balancing/docker-compose.yml
T

23 lines
441 B
YAML
Raw Normal View History

2026-11-04 19:23:39 +03:00
services:
nginx:
image: nginx
volumes:
- ./nginx.conf:/etc/nginx/conf.d/default.conf
ports:
- 8000:8000
server1:
image: hello
build:
context: hello-world
command: 8000 "Alice"
ports:
- 8001:8000
server2:
image: hello
build:
context: hello-world
command: 8000 "Bob"
ports:
- 8002:8000