DAS_2024_1/vasina_ekaterina_lab_3/docker-compose.yml

25 lines
438 B
YAML
Raw Normal View History

2024-12-13 03:02:14 +04:00
services:
user_service:
build:
context: ./user_service
dockerfile: Dockerfile
ports:
- "5000:5000"
order_service:
build:
context: ./order_service
dockerfile: Dockerfile
ports:
- "5001:5001"
nginx:
image: nginx:latest
volumes:
- ./nginx/nginx.conf:/etc/nginx/conf.d/default.conf
ports:
- "80:80"
depends_on:
- user_service
- order_service