DAS_2024_1/rogashova_ekaterina_lab_3/docker-compose.yml

27 lines
490 B
YAML
Raw Permalink Normal View History

2024-10-25 14:10:33 +04:00
services:
task_service:
container_name: task_service
build:
context: .
dockerfile: ./task_service/Dockerfile
expose:
- 8081
teacher_service:
container_name: teacher_service
build:
context: .
dockerfile: ./teacher_service/Dockerfile
expose:
- 8082
nginx:
image: nginx:latest
ports:
- "80:80"
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
depends_on:
- task_service
- teacher_service