services: genre: container_name: genre_service build: context: . dockerfile: ./genre/Dockerfile expose: - 8001 film: container_name: film_service build: context: . dockerfile: ./film/Dockerfile expose: - 8002 nginx: image: nginx:latest ports: - "80:80" volumes: - ./nginx.conf:/etc/nginx/nginx.conf depends_on: - genre - film