2024-10-23 14:32:40 -07:00
|
|
|
services:
|
|
|
|
|
api_server:
|
|
|
|
|
build:
|
|
|
|
|
context: .
|
|
|
|
|
environment:
|
|
|
|
|
- SLACK_BOT_TOKEN=${SLACK_BOT_TOKEN:-None}
|
2024-10-30 15:05:34 -07:00
|
|
|
- OPENAI_API_KEY=${OPENAI_API_KEY:?error}
|
|
|
|
|
- CHAT_COMPLETION_ENDPOINT=http://host.docker.internal:10000/v1
|
|
|
|
|
volumes:
|
|
|
|
|
- ./arch_config.yaml:/app/arch_config.yaml
|
2024-10-23 14:32:40 -07:00
|
|
|
ports:
|
2025-04-23 14:05:48 -07:00
|
|
|
- "18083:80"
|
2024-10-23 14:32:40 -07:00
|
|
|
healthcheck:
|
|
|
|
|
test: ["CMD", "curl" ,"http://localhost:80/healthz"]
|
|
|
|
|
interval: 5s
|
|
|
|
|
retries: 20
|
2024-12-20 13:25:01 -08:00
|
|
|
|
|
|
|
|
chatbot_ui:
|
|
|
|
|
build:
|
2025-02-07 18:45:42 -08:00
|
|
|
context: ../../shared/chatbot_ui
|
2024-12-20 13:25:01 -08:00
|
|
|
dockerfile: Dockerfile
|
|
|
|
|
ports:
|
|
|
|
|
- "18080:8080"
|
|
|
|
|
environment:
|
|
|
|
|
- CHAT_COMPLETION_ENDPOINT=http://host.docker.internal:10000/v1
|
|
|
|
|
extra_hosts:
|
|
|
|
|
- "host.docker.internal:host-gateway"
|
|
|
|
|
volumes:
|
|
|
|
|
- ./arch_config.yaml:/app/arch_config.yaml
|