DAS_2024_1/aleikin_artem_lab_3/docker-compose.yml

35 lines
745 B
YAML

services:
nginx:
image: nginx
depends_on:
- projectservice
- taskservice
volumes:
- ./nginx/nginx.conf:/etc/nginx/conf.d/default.conf
networks:
- app-network
ports:
- 80:80
projectservice:
build:
context: .
dockerfile: ProjectEntityProject/Dockerfile
networks:
- app-network
ports:
- 5001:8080
taskservice:
build:
context: .
dockerfile: TaskProject/Dockerfile
networks:
- app-network
ports:
- 5002:8080
depends_on:
- projectservice
networks:
app-network:
driver: bridge