version: "3.8" services: books_service: build: context: ./books_service dockerfile: Dockerfile ports: - "5000:5000" subscriptions_service: build: context: ./subscriptions_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: - books_service - subscriptions_service