DAS_2024_1/balakhonov_danila_lab_3/docker-compose.yaml

24 lines
448 B
YAML
Raw Normal View History

2024-11-03 19:18:40 +04:00
services:
restaurant-service:
2024-11-03 19:22:37 +04:00
build: ./ApiRestaurant/
2024-11-03 19:18:40 +04:00
environment:
WAITER_API_URL: http://waiter-service:4000
depends_on:
- waiter-service
2024-11-03 19:22:37 +04:00
2024-11-03 19:18:40 +04:00
waiter-service:
2024-11-03 19:22:37 +04:00
build: ./ApiWaiter/
2024-11-03 19:18:40 +04:00
environment:
PORT: 4000
ports:
- "4000:4000"
nginx:
image: nginx
depends_on:
- restaurant-service
- waiter-service
ports:
- "80:80"
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf