fix(render): use dockerCommand in render.yaml instead of modifying Dockerfile
- Revert Dockerfile to generic CMD for compatibility with other platforms - Add dockerCommand to render.yaml to run gateway with proper flags - Use CLAWDBOT_GATEWAY_PASSWORD env var for password auth - Remove healthCheckPath (gateway uses WebSocket, not HTTP health)
This commit is contained in:
parent
bc18813316
commit
0dff831354
@ -32,6 +32,4 @@ RUN pnpm ui:build
|
||||
|
||||
ENV NODE_ENV=production
|
||||
|
||||
# Run the gateway with settings suitable for Render deployment
|
||||
# Password auth allows browser-based login via SETUP_PASSWORD env var
|
||||
CMD ["node", "dist/index.js", "gateway", "--port", "8080", "--bind", "lan", "--auth", "password", "--allow-unconfigured"]
|
||||
CMD ["node", "dist/index.js"]
|
||||
|
||||
@ -3,18 +3,16 @@ services:
|
||||
name: clawdbot
|
||||
runtime: docker
|
||||
plan: starter
|
||||
healthCheckPath: /health
|
||||
dockerCommand: node dist/index.js gateway --port 8080 --bind lan --auth password --allow-unconfigured
|
||||
envVars:
|
||||
- key: PORT
|
||||
value: "8080"
|
||||
- key: SETUP_PASSWORD
|
||||
- key: CLAWDBOT_GATEWAY_PASSWORD
|
||||
sync: false
|
||||
- key: CLAWDBOT_STATE_DIR
|
||||
value: /data/.clawdbot
|
||||
- key: CLAWDBOT_WORKSPACE_DIR
|
||||
value: /data/workspace
|
||||
- key: CLAWDBOT_GATEWAY_TOKEN
|
||||
generateValue: true
|
||||
disk:
|
||||
name: clawdbot-data
|
||||
mountPath: /data
|
||||
|
||||
Loading…
Reference in New Issue
Block a user