Converging services into a single clawdbot service
This commit is contained in:
parent
99c7343dc7
commit
ea8721438b
@ -1,9 +1,10 @@
|
|||||||
services:
|
services:
|
||||||
clawdbot-gateway:
|
clawdbot:
|
||||||
image: ${CLAWDBOT_IMAGE:-ghcr.io/clawdbot/clawdbot:main}
|
image: ${CLAWDBOT_IMAGE:-ghcr.io/clawdbot/clawdbot:main}
|
||||||
environment:
|
environment:
|
||||||
HOME: /home/node
|
HOME: /home/node
|
||||||
TERM: xterm-256color
|
TERM: xterm-256color
|
||||||
|
BROWSER: echo
|
||||||
CLAWDBOT_GATEWAY_TOKEN: ${CLAWDBOT_GATEWAY_TOKEN}
|
CLAWDBOT_GATEWAY_TOKEN: ${CLAWDBOT_GATEWAY_TOKEN}
|
||||||
CLAUDE_AI_SESSION_KEY: ${CLAUDE_AI_SESSION_KEY}
|
CLAUDE_AI_SESSION_KEY: ${CLAUDE_AI_SESSION_KEY}
|
||||||
CLAUDE_WEB_SESSION_KEY: ${CLAUDE_WEB_SESSION_KEY}
|
CLAUDE_WEB_SESSION_KEY: ${CLAUDE_WEB_SESSION_KEY}
|
||||||
@ -16,6 +17,8 @@ services:
|
|||||||
- "${CLAWDBOT_BRIDGE_PORT:-18790}:18790"
|
- "${CLAWDBOT_BRIDGE_PORT:-18790}:18790"
|
||||||
init: true
|
init: true
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
stdin_open: true
|
||||||
|
tty: true
|
||||||
command:
|
command:
|
||||||
[
|
[
|
||||||
"node",
|
"node",
|
||||||
@ -26,20 +29,3 @@ services:
|
|||||||
"--port",
|
"--port",
|
||||||
"${CLAWDBOT_GATEWAY_PORT:-18789}"
|
"${CLAWDBOT_GATEWAY_PORT:-18789}"
|
||||||
]
|
]
|
||||||
|
|
||||||
clawdbot-cli:
|
|
||||||
image: ${CLAWDBOT_IMAGE:-ghcr.io/clawdbot/clawdbot:main}
|
|
||||||
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:
|
|
||||||
- ${CLAWDBOT_CONFIG_DIR}:/home/node/.clawdbot
|
|
||||||
- ${CLAWDBOT_WORKSPACE_DIR}:/home/node/clawd
|
|
||||||
stdin_open: true
|
|
||||||
tty: true
|
|
||||||
init: true
|
|
||||||
entrypoint: ["node", "dist/index.js"]
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user