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:
Ojus Save 2026-01-25 23:55:18 -08:00
parent 109ac1c549
commit 4c54fffa05

View File

@ -3,18 +3,16 @@ services:
name: moltbot
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: moltbot-data
mountPath: /data