35 lines
745 B
YAML
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 |