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