DAS_2024_1/novopolcev_alexander_lab_3/docker-compose.yml

30 lines
511 B
YAML
Raw Normal View History

2024-12-11 14:11:10 +04:00
services:
patient_service:
container_name: patient_service
build:
context: .
dockerfile: ./patient_service/Dockerfile
expose:
- 20001
hospital_service:
container_name: hospital_service
build:
context: .
dockerfile: ./hospital_service/Dockerfile
expose:
- 20002
nginx:
image: nginx:latest
ports:
- "80:80"
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
depends_on:
- patient_service
- hospital_service