DAS_2024_1/balakhonov_danila_lab_3/docker-compose.yaml

23 lines
457 B
YAML

services:
restaurant-service:
build: ./restaurant-service/
environment:
WAITER_API_URL: http://waiter-service:4000
depends_on:
- waiter-service
waiter-service:
build: ./waiter-service/
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