buster/docker-compose.yml

89 lines
2.3 KiB
YAML
Raw Normal View History

include:
- supabase/docker-compose.yml
services:
redis:
image: redis
container_name: buster-redis
ports:
- "6379:6379"
2025-05-08 00:00:36 +08:00
volumes:
- buster_redis_data:/data
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 1s
timeout: 3s
retries: 30
api:
2025-05-08 17:12:44 +08:00
image: ghcr.io/buster-so/buster/api:latest-arm64
2025-05-08 00:00:36 +08:00
container_name: buster-api
env_file:
- .env
2025-01-09 04:08:03 +08:00
environment:
- DATABASE_URL=${DATABASE_URL}
- REDIS_URL=${REDIS_URL}
- JWT_SECRET=${JWT_SECRET}
- SUPABASE_URL=${SUPABASE_URL}
- SUPABASE_SERVICE_ROLE_KEY=${SUPABASE_SERVICE_ROLE_KEY}
- POOLER_URL=${POOLER_URL}
- BUSTER_URL=${BUSTER_URL}
- BUSTER_WH_TOKEN=${BUSTER_WH_TOKEN}
- EMBEDDING_PROVIDER=${EMBEDDING_PROVIDER}
- EMBEDDING_MODEL=${EMBEDDING_MODEL}
- COHERE_API_KEY=${COHERE_API_KEY}
- ENVIRONMENT=${ENVIRONMENT}
2025-05-09 21:46:09 +08:00
- LOG_LEVEL=DEBUG
2025-05-08 18:00:42 +08:00
- RERANK_API_KEY=${RERANK_API_KEY}
- RERANK_MODEL=${RERANK_MODEL}
- RERANK_BASE_URL=${RERANK_BASE_URL}
- LLM_API_KEY=${LLM_API_KEY}
- LLM_BASE_URL=${LLM_BASE_URL}
2025-05-09 21:46:09 +08:00
- RUST_LOG=debug
ports:
- "3001:3001"
- "3000:3000"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3001/health"]
interval: 30s
timeout: 10s
retries: 3
depends_on:
redis:
condition: service_healthy
2025-05-08 00:00:36 +08:00
supavisor:
condition: service_healthy
kong:
condition: service_healthy
web:
2025-05-08 17:12:44 +08:00
image: ghcr.io/buster-so/buster/web:latest-arm64
2025-05-08 00:00:36 +08:00
container_name: buster-web
env_file:
- .env
depends_on:
api:
2025-05-08 00:00:36 +08:00
condition: service_healthy
network_mode: "service:api"
2025-05-08 15:12:57 +08:00
# Pausing this for local deployments until we can build out better multi-model support.
2025-05-09 21:46:09 +08:00
litellm:
image: ghcr.io/berriai/litellm:main-latest
container_name: buster-litellm
volumes:
- ./litellm_vertex_config.yaml:/litellm_vertex_config.yaml
command: ["--config", "/litellm_vertex_config.yaml", "--port", "4001"]
ports:
- "4001:4001"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:4001/health/readiness"]
interval: 30s
timeout: 10s
retries: 3
depends_on:
api:
condition: service_healthy
volumes:
2025-05-09 21:46:09 +08:00
buster_redis_data: