services: restaurant_service: build: ./ApiRestaurant/ environment: WAITER_API_URL: http://localhost:80/waiters/ expose: - 8080 depends_on: - waiter_service waiter_service: build: ./ApiWaiter/ environment: PORT: 4000 expose: - 4000 nginx: image: nginx depends_on: - restaurant_service - waiter_service ports: - "80:80" volumes: - ./nginx.conf:/etc/nginx/nginx.conf