mirror of
https://github.com/Dokploy/templates.git
synced 2026-03-11 17:48:11 -05:00
feat: add Moltbot template (#683)
* feat: add Moltbot template Add template for Moltbot - a WhatsApp gateway CLI with Pi RPC agent. - Uses official ghcr.io/moltbot/moltbot:latest image - Exposes ports 18789 (gateway) and 18790 (bridge) - Includes persistent volumes for config and workspace - Auto-generates gateway token - Optional Claude AI integration support Co-Authored-By: Claude <noreply@anthropic.com> * Update docker-compose.yml * Enhance Moltbot configuration in docker-compose and template files - Added CLAWDBOT_GATEWAY_URL and OPENROUTER_API_KEY to docker-compose.yml - Updated service binding to 'auto' and added init: true for improved service management - Defined CLAWDBOT_GATEWAY_PORT and CLAWDBOT_BRIDGE_PORT in template.toml - Included CLAWDBOT_PLUGINS for plugin configuration in template.toml * Add Moltbot entry to meta.json - Introduced a new entry for Moltbot, a WhatsApp gateway CLI with Pi RPC agent. - Included details such as version, description, logo, links, and relevant tags for better discoverability and integration. --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> Co-authored-by: Mauricio Siu <siumauricio@icloud.com>
This commit is contained in:
35
blueprints/moltbot/docker-compose.yml
Normal file
35
blueprints/moltbot/docker-compose.yml
Normal file
@@ -0,0 +1,35 @@
|
||||
services:
|
||||
moltbot-gateway:
|
||||
image: ghcr.io/moltbot/clawdbot:2026.1.24-1
|
||||
environment:
|
||||
HOME: /home/node
|
||||
TERM: xterm-256color
|
||||
CLAWDBOT_GATEWAY_TOKEN: ${CLAWDBOT_GATEWAY_TOKEN}
|
||||
CLAUDE_AI_SESSION_KEY: ${CLAUDE_AI_SESSION_KEY}
|
||||
CLAUDE_WEB_SESSION_KEY: ${CLAUDE_WEB_SESSION_KEY}
|
||||
CLAUDE_WEB_COOKIE: ${CLAUDE_WEB_COOKIE}
|
||||
CLAWDBOT_GATEWAY_URL: ws://0.0.0.0:18789
|
||||
OPENROUTER_API_KEY: ${OPENROUTER_API_KEY}
|
||||
volumes:
|
||||
- moltbot-config:/home/node/.clawdbot
|
||||
- moltbot-workspace:/home/node/clawd
|
||||
ports:
|
||||
- "18789"
|
||||
- "18790"
|
||||
init: true
|
||||
restart: unless-stopped
|
||||
command:
|
||||
[
|
||||
"node",
|
||||
"dist/index.js",
|
||||
"gateway",
|
||||
"--bind",
|
||||
"auto",
|
||||
"--port",
|
||||
"18789",
|
||||
"--allow-unconfigured"
|
||||
]
|
||||
|
||||
volumes:
|
||||
moltbot-config:
|
||||
moltbot-workspace:
|
||||
60
blueprints/moltbot/moltbot.svg
Normal file
60
blueprints/moltbot/moltbot.svg
Normal file
@@ -0,0 +1,60 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 16 16" role="img" aria-label="Pixel lobster">
|
||||
<rect width="16" height="16" fill="none"/>
|
||||
<!-- outline -->
|
||||
<g fill="#3a0a0d">
|
||||
<rect x="1" y="5" width="1" height="3"/>
|
||||
<rect x="2" y="4" width="1" height="1"/>
|
||||
<rect x="2" y="8" width="1" height="1"/>
|
||||
<rect x="3" y="3" width="1" height="1"/>
|
||||
<rect x="3" y="9" width="1" height="1"/>
|
||||
<rect x="4" y="2" width="1" height="1"/>
|
||||
<rect x="4" y="10" width="1" height="1"/>
|
||||
<rect x="5" y="2" width="6" height="1"/>
|
||||
<rect x="11" y="2" width="1" height="1"/>
|
||||
<rect x="12" y="3" width="1" height="1"/>
|
||||
<rect x="12" y="9" width="1" height="1"/>
|
||||
<rect x="13" y="4" width="1" height="1"/>
|
||||
<rect x="13" y="8" width="1" height="1"/>
|
||||
<rect x="14" y="5" width="1" height="3"/>
|
||||
<rect x="5" y="11" width="6" height="1"/>
|
||||
<rect x="4" y="12" width="1" height="1"/>
|
||||
<rect x="11" y="12" width="1" height="1"/>
|
||||
<rect x="3" y="13" width="1" height="1"/>
|
||||
<rect x="12" y="13" width="1" height="1"/>
|
||||
<rect x="5" y="14" width="6" height="1"/>
|
||||
</g>
|
||||
|
||||
<!-- body -->
|
||||
<g fill="#ff4f40">
|
||||
<rect x="5" y="3" width="6" height="1"/>
|
||||
<rect x="4" y="4" width="8" height="1"/>
|
||||
<rect x="3" y="5" width="10" height="1"/>
|
||||
<rect x="3" y="6" width="10" height="1"/>
|
||||
<rect x="3" y="7" width="10" height="1"/>
|
||||
<rect x="4" y="8" width="8" height="1"/>
|
||||
<rect x="5" y="9" width="6" height="1"/>
|
||||
<rect x="5" y="12" width="6" height="1"/>
|
||||
<rect x="6" y="13" width="4" height="1"/>
|
||||
</g>
|
||||
|
||||
<!-- claws -->
|
||||
<g fill="#ff775f">
|
||||
<rect x="1" y="6" width="2" height="1"/>
|
||||
<rect x="2" y="5" width="1" height="1"/>
|
||||
<rect x="2" y="7" width="1" height="1"/>
|
||||
<rect x="13" y="6" width="2" height="1"/>
|
||||
<rect x="13" y="5" width="1" height="1"/>
|
||||
<rect x="13" y="7" width="1" height="1"/>
|
||||
</g>
|
||||
|
||||
<!-- eyes -->
|
||||
<g fill="#081016">
|
||||
<rect x="6" y="5" width="1" height="1"/>
|
||||
<rect x="9" y="5" width="1" height="1"/>
|
||||
</g>
|
||||
<g fill="#f5fbff">
|
||||
<rect x="6" y="4" width="1" height="1"/>
|
||||
<rect x="9" y="4" width="1" height="1"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
||||
|
After Width: | Height: | Size: 2.1 KiB |
18
blueprints/moltbot/template.toml
Normal file
18
blueprints/moltbot/template.toml
Normal file
@@ -0,0 +1,18 @@
|
||||
[variables]
|
||||
gateway_token = "${password:32}"
|
||||
|
||||
|
||||
[config]
|
||||
[[config.domains]]
|
||||
serviceName = "moltbot-gateway"
|
||||
port = 18789
|
||||
host = "${domain}"
|
||||
|
||||
[config.env]
|
||||
CLAWDBOT_GATEWAY_TOKEN = "${gateway_token}"
|
||||
CLAWDBOT_GATEWAY_PORT = 18789
|
||||
CLAWDBOT_BRIDGE_PORT = 18790
|
||||
CLAWDBOT_GATEWAY_BIND="lan"
|
||||
CLAWDBOT_PLUGINS="discord,memory-core"
|
||||
# Get here https://openrouter.ai/
|
||||
OPENROUTER_API_KEY="YOUR-API-KEY"
|
||||
21
meta.json
21
meta.json
@@ -4026,6 +4026,27 @@
|
||||
"scheduling"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "moltbot",
|
||||
"name": "Moltbot",
|
||||
"version": "2026.1.25",
|
||||
"description": "WhatsApp gateway CLI with Pi RPC agent - self-hosted AI-powered messaging platform",
|
||||
"logo": "moltbot.svg",
|
||||
"links": {
|
||||
"github": "https://github.com/moltbot/moltbot",
|
||||
"website": "https://molt.bot",
|
||||
"docs": "https://docs.molt.bot"
|
||||
},
|
||||
"tags": [
|
||||
"whatsapp",
|
||||
"ai",
|
||||
"messaging",
|
||||
"chatbot",
|
||||
"gateway",
|
||||
"self-hosted",
|
||||
"automation"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "morphos",
|
||||
"name": "Morphos",
|
||||
|
||||
Reference in New Issue
Block a user