services: restaurant-service: build: ./ApiRestaurant/ container_name: restaurant environment: WAITER_API_URL: http://waiter-service:4000 expose: - 8080 depends_on: - waiter-service waiter-service: build: ./ApiWaiter/ container_name: waiter environment: PORT: 4000 expose: - 4000 nginx: image: nginx depends_on: - restaurant-service - waiter-service ports: - "80:80" volumes: - ./nginx.conf:/etc/nginx/nginx.conf