From 6740a0995295305eed3958f0bdd315a405a89280 Mon Sep 17 00:00:00 2001 From: Adil Hafeez Date: Wed, 22 Jan 2025 14:02:59 -0800 Subject: [PATCH] add docker-compose file for honeycomb tracing (#377) --- .../docker-compose_honeycomb.yaml | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 demos/currency_exchange_ollama/docker-compose_honeycomb.yaml diff --git a/demos/currency_exchange_ollama/docker-compose_honeycomb.yaml b/demos/currency_exchange_ollama/docker-compose_honeycomb.yaml new file mode 100644 index 00000000..3c46c7cf --- /dev/null +++ b/demos/currency_exchange_ollama/docker-compose_honeycomb.yaml @@ -0,0 +1,26 @@ +services: + 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 + + otel-collector: + build: + context: ../shared/honeycomb/ + ports: + - "4317:4317" + - "4318:4318" + volumes: + - ../shared/honeycomb/otel-collector-config.yaml:/etc/otel-collector-config.yaml + env_file: + - .env + environment: + - HONEYCOMB_API_KEY=${HONEYCOMB_API_KEY:?error}