services: sparkd: build: dockerfile: Dockerfile context: ./sparkd command: [ "./sparkd", "run" ] ports: [ "8000:8000", "8001:8001", "8002:8002" ] pubsub: build: dockerfile: pubsub.Dockerfile context: ./DataStream command: [ "./PubSubServer" ] environment: - DOTNET_ENVIRONMENT=Production ports: - 22019:22019 md-publisher: build: dockerfile: md-publisher.Dockerfile context: ./DataStream depends_on: - pubsub - sparkd command: [ "dockerize", "-wait", "tcp://pubsub:22019", "-wait", "tcp://sparkd:8000", "-timeout", "10s", "./DataStreamPublisher" ] environment: - DOTNET_ENVIRONMENT=MarketData webapp: ports: - 8080:8080 - 8443:8443 build: dockerfile: webapp.Dockerfile context: ./DataStream command: [ "./Bts.DataStreamWebApp.Server" ] environment: - ASPNETCORE_HTTP_PORT=8080 - ASPNETCORE_HTTPS_PORT=8443 - ASPNETCORE_ENVIRONMENT=Staging