mirror of
https://github.com/hanzoai/bot.git
synced 2026-08-07 03:53:11 +00:00
Replaces all ghcr.io/hanzoai/<svc>:latest pins with the latest published semver tag for each service. Per CLAUDE.md auto-bump policy: mutable branch tags (:latest, :main, :dev) are deprecated for cluster pins — only immutable semver permitted. Bulk update across services with published v* tags. Services without a published semver remain on :latest until their release pipeline cuts a v* tag.
23 lines
734 B
YAML
23 lines
734 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
bot-gateway:
|
|
image: ghcr.io/hanzoai/bot:1.4.2
|
|
command: ["node", "hanzo-bot.mjs", "gateway", "--allow-unconfigured", "--bind", "lan"]
|
|
ports:
|
|
- "18789:18789"
|
|
environment:
|
|
- NODE_ENV=production
|
|
- HOME=/home/node
|
|
- BOT_CONFIG_PATH=/etc/bot/bot.json
|
|
- ANTHROPIC_API_KEY=${HANZO_API_KEY}
|
|
- HANZO_API_KEY=${HANZO_API_KEY}
|
|
- BOT_GATEWAY_TOKEN=${BOT_GATEWAY_TOKEN:-test-token-12345}
|
|
volumes:
|
|
- ./bot-config.json:/etc/bot/bot.json:ro
|
|
healthcheck:
|
|
test: ["CMD", "node", "-e", "fetch('http://127.0.0.1:18789/health').then(r=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
start_period: 15s
|