From 21ca0d8d9b97448e3506a3f0cfaf2ef72a773b01 Mon Sep 17 00:00:00 2001 From: aayushwhiz Date: Thu, 5 Dec 2024 13:40:48 -0800 Subject: [PATCH] add a default docker-compose for e2e tests --- demos/weather_forecast/docker-compose.yaml | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 demos/weather_forecast/docker-compose.yaml diff --git a/demos/weather_forecast/docker-compose.yaml b/demos/weather_forecast/docker-compose.yaml new file mode 100644 index 00000000..fdaa7fcd --- /dev/null +++ b/demos/weather_forecast/docker-compose.yaml @@ -0,0 +1,41 @@ +services: + weather_forecast_service: + build: + context: ../shared/weather_forecast_service + environment: + - OLTP_HOST=http://jaeger:4317 + extra_hosts: + - "host.docker.internal:host-gateway" + ports: + - "18083:80" + + chatbot_ui: + build: + context: ../shared/chatbot_ui + ports: + - "18080:8080" + environment: + # this is only because we are running the sample app in the same docker container environemtn as archgw + - CHAT_COMPLETION_ENDPOINT=http://host.docker.internal:10000/v1 + extra_hosts: + - "host.docker.internal:host-gateway" + volumes: + - ./arch_config.yaml:/app/arch_config.yaml + + jaeger: + build: + context: ../shared/jaeger + ports: + - "16686:16686" + - "4317:4317" + - "4318:4318" + + prometheus: + build: + context: ../shared/prometheus + + grafana: + build: + context: ../shared/grafana + ports: + - "3000:3000"