2024-07-10 10:06:02 -07:00
|
|
|
services:
|
|
|
|
|
envoy:
|
|
|
|
|
image: envoyproxy/envoy:v1.30-latest
|
|
|
|
|
hostname: envoy
|
|
|
|
|
ports:
|
|
|
|
|
- "10000:10000"
|
2024-07-16 14:50:32 -07:00
|
|
|
- "19901:9901"
|
2024-07-10 10:06:02 -07:00
|
|
|
volumes:
|
|
|
|
|
- ./envoy.yaml:/etc/envoy/envoy.yaml
|
|
|
|
|
- ./target/wasm32-wasi/release:/etc/envoy/proxy-wasm-plugins
|
2024-07-19 13:14:48 -07:00
|
|
|
- /etc/ssl/cert.pem:/etc/ssl/cert.pem
|
2024-07-18 14:04:51 -07:00
|
|
|
depends_on:
|
2024-08-06 23:40:06 -07:00
|
|
|
qdrant:
|
|
|
|
|
condition: service_started
|
2024-07-18 14:04:51 -07:00
|
|
|
embeddingserver:
|
|
|
|
|
condition: service_healthy
|
|
|
|
|
|
|
|
|
|
embeddingserver:
|
|
|
|
|
build:
|
|
|
|
|
context: ../embedding-server
|
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
|
ports:
|
|
|
|
|
- "18080:80"
|
|
|
|
|
healthcheck:
|
2024-07-30 16:23:23 -07:00
|
|
|
test: ["CMD", "curl" ,"http://localhost:80/healthz"]
|
2024-07-18 14:04:51 -07:00
|
|
|
interval: 5s
|
|
|
|
|
retries: 20
|
|
|
|
|
|
|
|
|
|
qdrant:
|
|
|
|
|
image: qdrant/qdrant
|
|
|
|
|
hostname: vector-db
|
|
|
|
|
ports:
|
|
|
|
|
- 16333:6333
|
|
|
|
|
- 16334:6334
|
2024-07-16 14:50:32 -07:00
|
|
|
|
2024-08-06 23:40:06 -07:00
|
|
|
chatbot-ui:
|
|
|
|
|
build:
|
|
|
|
|
context: ../chatbot-ui
|
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
|
ports:
|
|
|
|
|
- "18080:8080"
|
|
|
|
|
environment:
|
|
|
|
|
- CHAT_COMPLETION_ENDPOINT=http://envoy:10000/v1/chat/completions
|