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
|
2024-11-03 20:15:43 +04:00
|
|
|
expose:
|
2024-11-03 20:30:29 +04:00
|
|
|
- 5089
|
2024-11-03 19:18:40 +04:00
|
|
|
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
|
2024-11-03 20:15:43 +04:00
|
|
|
expose:
|
|
|
|
- 4000
|
2024-11-03 19:18:40 +04:00
|
|
|
|
|
|
|
nginx:
|
|
|
|
image: nginx
|
|
|
|
depends_on:
|
|
|
|
- restaurant-service
|
|
|
|
- waiter-service
|
|
|
|
ports:
|
|
|
|
- "80:80"
|
|
|
|
volumes:
|
|
|
|
- ./nginx.conf:/etc/nginx/nginx.conf
|