DAS_2024_1/melnikov_igor_lab_3/docker-compose.yml
2024-12-15 17:11:29 +04:00

25 lines
438 B
YAML

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