version: '3.8' services: games_service: build: context: ./games_service dockerfile: Dockerfile ports: - "5000:5000" genres_service: build: context: ./genres_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: - games_service - genres_service