-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.bifrost.yaml
More file actions
57 lines (54 loc) · 1.89 KB
/
docker-compose.bifrost.yaml
File metadata and controls
57 lines (54 loc) · 1.89 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
48
49
50
51
52
53
54
55
56
57
# =============================================================================
# Bifrost AI Gateway + Redis (Semantic Cache & Vector Store)
# =============================================================================
# Requires: docker-compose.langfuse.yaml (for OTel trace collection)
# Docs: https://www.getbifrost.ai
# =============================================================================
services:
bifrost:
image: maximhq/bifrost
container_name: bifrost
ports:
- 8080:8080
volumes:
- ~/.aws:/home/appuser/.aws:ro
- ./bifrost_configs/config.json:/app/data/config.json:ro
environment:
# --- Core ---
AWS_PROFILE: ${AWS_PROFILE}
BIFROST_HOST: 0.0.0.0
BIFROST_PORT: 8080
BIFROST_FORCE_INIT_CONFIG: true
BIFROST_ENABLE_UI: true
BIFROST_SEND_CACHE_HEADERS: true
# --- Logging ---
BIFROST_LOG_LEVEL: debug
LOG_LEVEL: debug
OTEL_PYTHON_LOG_LEVEL: debug
# --- OpenTelemetry → Langfuse ---
BIFROST_OTEL_ENABLED: true
BIFROST_OTEL_SAMPLING_RATE: 1.0
OTEL_EXPORTER_OTLP_TRACES_ENDPOINT: ${LANGFUSE_OTEL_EXPORTER_OTLP_TRACES_ENDPOINT}
OTEL_EXPORTER_OTLP_METRICS_ENDPOINT: ${LANGFUSE_OTEL_EXPORTER_OTLP_METRICS_ENDPOINT}
OTEL_EXPORTER_OTLP_TRACES_HEADERS: ${BIFROST_OTEL_AUTH}
# --- Redis (semantic cache / vector store) ---
BIFROST_REDIS_URL: bifrost-redis:6379
BIFROST_REDIS_PASS: ${BIFROST_REDIS_AUTH:-bifrostsecret}
env_file:
- .env
labels:
- "dev.orbstack.domains=bifrost.local"
- "dev.orbstack.http-port=8080"
depends_on:
- bifrost-redis
bifrost-redis:
image: redis/redis-stack-server:latest
container_name: bifrost-redis
ports:
- 6380:6379
volumes:
- bifrost_redis_data:/data
environment:
REDIS_ARGS: --requirepass ${BIFROST_REDIS_AUTH:-bifrostsecret}
volumes:
bifrost_redis_data: