services: user_service: build: context: ./user_service dockerfile: Dockerfile ports: - "5000:5000" order_service: build: context: ./order_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: - user_service - order_service