- Added a fix for device pairing rejection during local connection retries in the CHANGELOG. - Included guidance for Docker configuration to bypass device pairing in the installation documentation, detailing the necessary JSON configuration for the Control UI.
47 lines
1.4 KiB
YAML
47 lines
1.4 KiB
YAML
services:
|
|
moltbot-gateway:
|
|
image: ${MOLTBOT_IMAGE:-moltbot:local}
|
|
environment:
|
|
HOME: /home/node
|
|
TERM: xterm-256color
|
|
MOLTBOT_GATEWAY_TOKEN: ${MOLTBOT_GATEWAY_TOKEN}
|
|
MOLTBOT_SERVICE_TOKEN: ${MOLTBOT_SERVICE_TOKEN}
|
|
CLAUDE_AI_SESSION_KEY: ${CLAUDE_AI_SESSION_KEY}
|
|
CLAUDE_WEB_SESSION_KEY: ${CLAUDE_WEB_SESSION_KEY}
|
|
CLAUDE_WEB_COOKIE: ${CLAUDE_WEB_COOKIE}
|
|
volumes:
|
|
- ${MOLTBOT_CONFIG_DIR:-~/.moltbot}:/home/node/.moltbot
|
|
- ${MOLTBOT_WORKSPACE_DIR:-~/clawd}:/home/node/clawd
|
|
ports:
|
|
- "${MOLTBOT_GATEWAY_PORT:-18789}:18789"
|
|
- "${MOLTBOT_BRIDGE_PORT:-18790}:18790"
|
|
init: true
|
|
restart: unless-stopped
|
|
command:
|
|
[
|
|
"node",
|
|
"dist/index.js",
|
|
"gateway",
|
|
"--bind",
|
|
"${MOLTBOT_GATEWAY_BIND:-lan}",
|
|
"--port",
|
|
"${MOLTBOT_GATEWAY_PORT:-18789}"
|
|
]
|
|
|
|
moltbot-cli:
|
|
image: ${MOLTBOT_IMAGE:-moltbot:local}
|
|
environment:
|
|
HOME: /home/node
|
|
TERM: xterm-256color
|
|
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:
|
|
- ${MOLTBOT_CONFIG_DIR}:/home/node/.moltbot
|
|
- ${MOLTBOT_WORKSPACE_DIR}:/home/node/moltbot
|
|
stdin_open: true
|
|
tty: true
|
|
init: true
|
|
entrypoint: ["node", "dist/index.js"]
|