DAS_2024_1/ismailov_rovshan_lab_3/docker-compose.yaml

27 lines
516 B
YAML

services:
faculty_service:
container_name: faculty_service
build:
context: .
dockerfile: ./faculty_service/Dockerfile
expose:
- 10001
speciality_service:
container_name: speciality_service
build:
context: .
dockerfile: ./speciality_service/Dockerfile
expose:
- 10002
nginx:
image: nginx:latest
ports:
- "80:80"
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
depends_on:
- faculty_service
- speciality_service