version: '3' services: user-service: build: context: ./user_service ports: - "5001:5001" depends_on: - rabbitmq order-service: build: context: ./order_service ports: - "5002:5002" depends_on: - rabbitmq rabbitmq: image: "rabbitmq:management" ports: - "5672:5672" - "15672:15672" nginx: build: context: ./nginx ports: - "80:80" depends_on: - user-service - order-service