DAS_2023_1/antonov_dmitry_lab_3/docker-compose.yml
2023-12-04 18:24:11 +04:00

22 lines
335 B
YAML

version: '3'
services:
service_a:
build: ./service_a
ports:
- "5000:5000"
service_b:
build: ./service_b
ports:
- "5001:5001"
nginx:
image: nginx
ports:
- "80:80"
volumes:
- ./nginx/nginx.conf:/etc/nginx/conf.d/default.conf
depends_on:
- service_a
- service_b