forked from Alexey/DAS_2024_1
27 lines
472 B
YAML
27 lines
472 B
YAML
services:
|
|
restaurant-service:
|
|
build: ./ApiRestaurant/
|
|
environment:
|
|
WAITER_API_URL: http://waiter-service:4000
|
|
expose:
|
|
- 6666
|
|
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 |