openclaw/render.yaml
Ojus Save 4c54fffa05 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)
2026-01-28 10:10:12 -08:00

20 lines
502 B
YAML

services:
- type: web
name: moltbot
runtime: docker
plan: starter
dockerCommand: node dist/index.js gateway --port 8080 --bind lan --auth password --allow-unconfigured
envVars:
- key: PORT
value: "8080"
- key: CLAWDBOT_GATEWAY_PASSWORD
sync: false
- key: CLAWDBOT_STATE_DIR
value: /data/.clawdbot
- key: CLAWDBOT_WORKSPACE_DIR
value: /data/workspace
disk:
name: moltbot-data
mountPath: /data
sizeGB: 1