version: '3.7' services: edge: build: context: . dockerfile: Dockerfile-frontend volumes: - ./front-envoy.yaml:/etc/front-envoy.yaml expose: - "80" - "8001" ports: - "8000:80" - "8001:8001" networks: - envoymesh service1: build: context: . dockerfile: Dockerfile-service volumes: - ./service-envoy.yaml:/etc/service-envoy.yaml networks: envoymesh: aliases: - service1 environment: - SERVICE_NAME=1 expose: - "80" service2a: build: context: . dockerfile: Dockerfile-service2a volumes: - ./service-envoy.yaml:/etc/service-envoy.yaml networks: envoymesh: aliases: - service2a environment: - SERVICE_NAME=2a expose: - "80" service2b: build: context: . dockerfile: Dockerfile-service2b volumes: - ./service-envoy.yaml:/etc/service-envoy.yaml networks: envoymesh: aliases: - service2b environment: - SERVICE_NAME=2b expose: - "80" service2: build: context: . dockerfile: Dockerfile-service volumes: - ./service-envoy.yaml:/etc/service-envoy.yaml networks: envoymesh: aliases: - service2 environment: - SERVICE_NAME=2 expose: - "80" jaeger: image: jaegertracing/all-in-one environment: - COLLECTOR_ZIPKIN_HTTP_PORT=9411 networks: envoymesh: aliases: - jaeger expose: - "9411" - "16686" ports: - "9411:9411" - "16686:16686" networks: envoymesh: {}