Files
bot/docker-compose.yml
zooqueenandHanzo Dev ca95d3055b fix: resolve rebrand naming mismatches in source and tests
Update CLI name constant from @hanzo/bot to bot (display name),
fix npm install references to use @hanzo/bot (package name),
update test expectations to match rebranded identifiers, fix
Dockerfile/docker-setup content, and update extension configs.

Co-authored-by: Hanzo Dev <[email protected]>
2026-03-04 11:01:57 -08:00

42 lines
1.3 KiB
YAML

services:
bot-gateway:
image: ${BOT_IMAGE:-bot:local}
environment:
HOME: /home/node
TERM: xterm-256color
BOT_GATEWAY_TOKEN: ${BOT_GATEWAY_TOKEN}
CLAUDE_AI_SESSION_KEY: ${CLAUDE_AI_SESSION_KEY}
CLAUDE_WEB_SESSION_KEY: ${CLAUDE_WEB_SESSION_KEY}
CLAUDE_WEB_COOKIE: ${CLAUDE_WEB_COOKIE}
volumes:
- ${BOT_CONFIG_DIR}:/home/node/.bot
- ${BOT_WORKSPACE_DIR}:/home/node/.bot/workspace
ports:
- "${BOT_GATEWAY_PORT:-18789}:18789"
- "${BOT_BRIDGE_PORT:-18790}:18790"
init: true
restart: unless-stopped
command:
["node", "dist/index.js", "gateway", "--bind", "${BOT_GATEWAY_BIND:-lan}", "--port", "18789"]
bot-cli:
image: ${BOT_IMAGE:-bot:local}
environment:
HOME: /home/node
TERM: xterm-256color
BOT_GATEWAY_TOKEN: ${BOT_GATEWAY_TOKEN}
BROWSER: echo
CLAUDE_AI_SESSION_KEY: ${CLAUDE_AI_SESSION_KEY:-}
CLAUDE_WEB_SESSION_KEY: ${CLAUDE_WEB_SESSION_KEY:-}
CLAUDE_WEB_COOKIE: ${CLAUDE_WEB_COOKIE:-}
volumes:
- ${BOT_CONFIG_DIR}:/home/node/.bot
- ${BOT_WORKSPACE_DIR}:/home/node/.bot/workspace
network_mode: "service:bot-gateway"
stdin_open: true
tty: true
init: true
entrypoint: ["node", "dist/index.js"]
depends_on:
- bot-gateway