Merge 7e47d8d9fa into 4583f88626
This commit is contained in:
commit
652790d866
@ -3,6 +3,7 @@ services:
|
|||||||
image: ${CLAWDBOT_IMAGE:-moltbot:local}
|
image: ${CLAWDBOT_IMAGE:-moltbot:local}
|
||||||
environment:
|
environment:
|
||||||
HOME: /home/node
|
HOME: /home/node
|
||||||
|
MOLTBOT_STATE_DIR: /home/node/.clawdbot
|
||||||
TERM: xterm-256color
|
TERM: xterm-256color
|
||||||
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}
|
||||||
@ -31,6 +32,7 @@ services:
|
|||||||
image: ${CLAWDBOT_IMAGE:-moltbot:local}
|
image: ${CLAWDBOT_IMAGE:-moltbot:local}
|
||||||
environment:
|
environment:
|
||||||
HOME: /home/node
|
HOME: /home/node
|
||||||
|
MOLTBOT_STATE_DIR: /home/node/.clawdbot
|
||||||
TERM: xterm-256color
|
TERM: xterm-256color
|
||||||
BROWSER: echo
|
BROWSER: echo
|
||||||
CLAUDE_AI_SESSION_KEY: ${CLAUDE_AI_SESSION_KEY}
|
CLAUDE_AI_SESSION_KEY: ${CLAUDE_AI_SESSION_KEY}
|
||||||
|
|||||||
@ -26,6 +26,10 @@ mkdir -p "${CLAWDBOT_WORKSPACE_DIR:-$HOME/clawd}"
|
|||||||
|
|
||||||
export CLAWDBOT_CONFIG_DIR="${CLAWDBOT_CONFIG_DIR:-$HOME/.clawdbot}"
|
export CLAWDBOT_CONFIG_DIR="${CLAWDBOT_CONFIG_DIR:-$HOME/.clawdbot}"
|
||||||
export CLAWDBOT_WORKSPACE_DIR="${CLAWDBOT_WORKSPACE_DIR:-$HOME/clawd}"
|
export CLAWDBOT_WORKSPACE_DIR="${CLAWDBOT_WORKSPACE_DIR:-$HOME/clawd}"
|
||||||
|
|
||||||
|
# Set ownership to container user (uid 1000) so the container can write to mounted volumes
|
||||||
|
chown -R 1000:1000 "$CLAWDBOT_CONFIG_DIR" 2>/dev/null || true
|
||||||
|
chown -R 1000:1000 "$CLAWDBOT_WORKSPACE_DIR" 2>/dev/null || true
|
||||||
export CLAWDBOT_GATEWAY_PORT="${CLAWDBOT_GATEWAY_PORT:-18789}"
|
export CLAWDBOT_GATEWAY_PORT="${CLAWDBOT_GATEWAY_PORT:-18789}"
|
||||||
export CLAWDBOT_BRIDGE_PORT="${CLAWDBOT_BRIDGE_PORT:-18790}"
|
export CLAWDBOT_BRIDGE_PORT="${CLAWDBOT_BRIDGE_PORT:-18790}"
|
||||||
export CLAWDBOT_GATEWAY_BIND="${CLAWDBOT_GATEWAY_BIND:-lan}"
|
export CLAWDBOT_GATEWAY_BIND="${CLAWDBOT_GATEWAY_BIND:-lan}"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user