Skip to content

Commit 10038bd

Browse files
Alexey Panfilovclaude
andcommitted
feat: add Claude Bridge support to docker-compose and .env.example
- docker-compose: add extra_hosts for host.docker.internal, pass CLAUDE_BRIDGE_TOKEN env var, comment out build by default - .env.example: add CLAUDE_BRIDGE_TOKEN and PROJECT_DIR Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 0cb29e1 commit 10038bd

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

.env.example

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ QWEN_API_KEY=your_qwen_api_key_here
1414
# Timezone for date/time in LLM context (IANA format, e.g. Europe/Moscow, America/New_York)
1515
TZ=Europe/Belgrade
1616

17+
# Optional: Claude Bridge (host service wrapping claude -p CLI)
18+
# CLAUDE_BRIDGE_TOKEN=your_shared_secret
19+
# CLAUDE_BRIDGE_PROJECT_DIR=/path/to/assistant_context
20+
1721
# MCP servers
1822
# MEMORY_USER=
1923
# MEMORY_PASS=

docker-compose.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ services:
44
# build: . # uncomment to build locally instead
55
restart: unless-stopped
66
network_mode: bridge
7+
extra_hosts:
8+
- "host.docker.internal:host-gateway"
79
environment:
810
- TELEGRAM_BOT_TOKEN=${TELEGRAM_BOT_TOKEN}
911
- TELEGRAM_OWNER_CHAT_ID=${TELEGRAM_OWNER_CHAT_ID}
@@ -12,6 +14,7 @@ services:
1214
- QWEN_API_KEY=${QWEN_API_KEY:-}
1315
- OLLAMA_API_KEY=${OLLAMA_API_KEY:-}
1416
- EMBED_API_KEY=${EMBED_API_KEY:-}
17+
- CLAUDE_BRIDGE_TOKEN=${CLAUDE_BRIDGE_TOKEN:-}
1518
- TZ=${TZ:-Europe/Belgrade}
1619
volumes:
1720
- ./data:/app/data

0 commit comments

Comments
 (0)