services: teacher_service: build: context: ./teacher_service dockerfile: Dockerfile ports: - "5000:5000" discipline_service: build: context: ./discipline_service dockerfile: Dockerfile ports: - "5001:5001" nginx: image: nginx:latest volumes: - ./nginx/nginx.conf:/etc/nginx/conf.d/default.conf ports: - "80:80" depends_on: - teacher_service - discipline_service