DAS_2024_1/dozorova_alena_lab_3/docker-compose.yml

21 lines
452 B
YAML
Raw Permalink Normal View History

2024-09-26 11:04:52 +04:00
services:
nginx:
image: nginx
depends_on:
- postservice
- workerservice
volumes:
- ./nginx/nginx.conf:/etc/nginx/conf.d/default.conf
ports:
- 80:80
postservice:
build: .\PostService
ports:
- 81:8080
workerservice:
build: .\WorkerService
ports:
- 82:8080
depends_on:
- postservice