2024-11-07 22:11:00 -06:00
|
|
|
services:
|
|
|
|
|
weather_forecast_service:
|
|
|
|
|
build:
|
2024-12-06 17:20:59 -08:00
|
|
|
context: ./
|
2024-11-07 22:11:00 -06:00
|
|
|
environment:
|
|
|
|
|
- OLTP_HOST=http://otel-collector:4317
|
|
|
|
|
extra_hosts:
|
|
|
|
|
- "host.docker.internal:host-gateway"
|
|
|
|
|
ports:
|
|
|
|
|
- "18083:80"
|
|
|
|
|
|
|
|
|
|
chatbot_ui:
|
|
|
|
|
build:
|
2025-02-07 18:45:42 -08:00
|
|
|
context: ../../shared/chatbot_ui
|
2024-11-07 22:11:00 -06:00
|
|
|
ports:
|
|
|
|
|
- "18080:8080"
|
|
|
|
|
environment:
|
2024-12-06 13:44:22 -08:00
|
|
|
# this is only because we are running the sample app in the same docker container environment as archgw
|
2024-11-07 22:11:00 -06:00
|
|
|
- CHAT_COMPLETION_ENDPOINT=http://host.docker.internal:10000/v1
|
|
|
|
|
extra_hosts:
|
|
|
|
|
- "host.docker.internal:host-gateway"
|
|
|
|
|
volumes:
|
|
|
|
|
- ./arch_config.yaml:/app/arch_config.yaml
|
2024-11-12 15:03:26 -08:00
|
|
|
|
2024-12-06 13:44:22 -08:00
|
|
|
otel-collector:
|
|
|
|
|
build:
|
2025-02-07 18:45:42 -08:00
|
|
|
context: ../../shared/logfire/
|
2024-12-06 13:44:22 -08:00
|
|
|
ports:
|
|
|
|
|
- "4317:4317"
|
|
|
|
|
- "4318:4318"
|
|
|
|
|
volumes:
|
2025-02-07 18:45:42 -08:00
|
|
|
- ../../shared/logfire/otel-collector-config.yaml:/etc/otel-collector-config.yaml
|
2024-12-06 13:44:22 -08:00
|
|
|
env_file:
|
|
|
|
|
- .env
|
|
|
|
|
environment:
|
|
|
|
|
- LOGFIRE_API_KEY
|
|
|
|
|
|
2024-11-12 15:03:26 -08:00
|
|
|
prometheus:
|
2024-11-12 15:23:30 -08:00
|
|
|
build:
|
2025-02-07 18:45:42 -08:00
|
|
|
context: ../../shared/prometheus
|
2024-11-12 15:03:26 -08:00
|
|
|
|
|
|
|
|
grafana:
|
2024-11-12 15:23:30 -08:00
|
|
|
build:
|
2025-02-07 18:45:42 -08:00
|
|
|
context: ../../shared/grafana
|
2024-11-12 15:03:26 -08:00
|
|
|
ports:
|
2024-11-12 15:23:30 -08:00
|
|
|
- "3000:3000"
|