-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (44 loc) · 1.2 KB
/
docker-compose.yml
File metadata and controls
47 lines (44 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
services:
# Redis - For tracking assistant message counts
redis:
image: redis:7-alpine
platform: linux/amd64
container_name: proxy-redis
ports:
- "6379:6379" # Expose for debugging if needed
networks:
- proxy-network
restart: unless-stopped
command: redis-server --appendonly yes
volumes:
- redis-data:/data
# Metadata Gateway - Handles LLM calls directly via LiteLLM SDK with Langfuse OTEL
metadata-gateway:
build:
context: ../..
dockerfile: eval_protocol/proxy/Dockerfile.gateway
container_name: metadata-gateway
environment:
- PORT=4000
# Redis configuration for assistant message counting
- REDIS_HOST=redis
- REDIS_PORT=6379
# No password for local Redis
- REQUEST_TIMEOUT=300
# Logging level: INFO (default)
- LOG_LEVEL=INFO
# Langfuse and secrets
- SECRETS_PATH=/app/proxy_core/secrets.yaml
- LANGFUSE_HOST=${LANGFUSE_HOST:-https://cloud.langfuse.com}
ports:
- "4000:4000" # Main public-facing port
networks:
- proxy-network
depends_on:
- redis
restart: unless-stopped
networks:
proxy-network:
driver: bridge
volumes:
redis-data: