DAS_2024_1/balakhonov_danila_lab_3/docker-compose.yaml
2024-11-03 22:31:00 +04:00

26 lines
467 B
YAML

services:
restaurant-service:
build: ./ApiRestaurant/
environment:
WAITER_API_URL: http://waiter-service:4000
expose:
- 8080
depends_on:
- waiter-service
waiter-service:
build: ./ApiWaiter/
environment:
PORT: 4000
expose:
- 4000
nginx:
image: nginx
depends_on:
- restaurant-service
- waiter-service
ports:
- "80:80"
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf