-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.example.yml
More file actions
26 lines (24 loc) · 890 Bytes
/
docker-compose.example.yml
File metadata and controls
26 lines (24 loc) · 890 Bytes
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
services:
telegram-ai-bridge-claude:
build:
context: .
image: telegram-ai-bridge:local
restart: unless-stopped
command: ["--backend", "claude"]
environment:
BRIDGE_CONFIG_PATH: /app/config.json
volumes:
- ./config.json:/app/config.json:ro
- ./data:/app/data
- ${HOME}/.claude:/root/.claude
# Optional: Redis for shared context backend (set sharedContextBackend: "redis" in config.json)
# redis:
# image: redis:7-alpine
# restart: unless-stopped
# ports:
# - "6379:6379"
# Notes:
# - Set sessionsDb/tasksDb in config.json to paths under ./data for persistence.
# - Run one service per backend, with a separate Telegram bot token for each backend.
# - To use Redis shared context: uncomment the redis service above and set
# "sharedContextBackend": "redis" and "redisUrl": "redis://redis:6379" in config.json.