Bagaimana install Wuzapi di Clawcloudrun
Name
devbox
Status
Image
hub.ap-southeast-1.run.claw.cloud/ns-m1l4p4g6/devbox
Runtime
Go-1.23.0
Created At
2025-11-11 08:46
Start Time
20h40m
CPU Limit
4 Core
Memory Limit
8 G
SSH Connection
ssh -i yourPrivateKeyPath devbox@devbox.ap-southeast-1.clawcloudrun.com -p 38537
devbox@devbox:~/project$ git clone https://github.com/asternic/wuzapi.git
Cloning into 'wuzapi'...
remote: Enumerating objects: 1665, done.
remote: Counting objects: 100% (710/710), done.
remote: Compressing objects: 100% (166/166), done.
remote: Total 1665 (delta 652), reused 549 (delta 544), pack-reused 955 (from 2)
Receiving objects: 100% (1665/1665), 5.41 MiB | 15.77 MiB/s, done.
Resolving deltas: 100% (1068/1068), done.
devbox@devbox:~/project/wuzapi$ go get -u go.mau.fi/whatsmeow@latest
devbox@devbox:~/project/wuzapi$ go version
go version go1.24.7 linux/amd64
devbox@devbox:~/project/wuzapi$ go mod tidy
devbox@devbox:~/project/wuzapi$ netstat -ano | :8081
devbox@devbox:~/project/wuzapi$ ss -tuln | grep :8080
devbox@devbox:~/project/wuzapi$ ss -tuln | grep :22
tcp LISTEN 0 128 0.0.0.0:22 0.0.0.0:*
tcp LISTEN 0 128 [::]:22 [::]:*
*
devbox@devbox:~/project/wuzapi$ cat .env
# .env
# Server Configuration
WUZAPI_PORT=8081
# Token for WuzAPI Admin
WUZAPI_ADMIN_TOKEN=manage
# Encryption key for sensitive data (32 bytes for AES-256)
WUZAPI_GLOBAL_ENCRYPTION_KEY=your_32_byte_encryption_key_here
# Global HMAC Key for webhook signing (minimum 32 characters)
WUZAPI_GLOBAL_HMAC_KEY=your_global_hmac_key_here_minimum_32_chars
# Global webhook URL
WUZAPI_GLOBAL_WEBHOOK=https://n8n-oiqoqaet.ap-southeast-1.clawcloudrun.com/webhook-test/2d1b35a4-9cf8-4a4e-bc0d-f8059b4aa33d
# "json" or "form" for the default
WEBHOOK_FORMAT=json
# WuzAPI Session Configuration
SESSION_DEVICE_NAME=WuzAPI
# Database configuration
DB_USER=wuzapi
DB_PASSWORD=wuzapi
DB_NAME=wuzapi
DB_HOST=db
DB_PORT=5432
DB_SSLMODE=false
TZ=America/Sao_Paulo
# RabbitMQ configuration Optional
#RABBITMQ_URL=amqp://wuzapi:wuzapi@localhost:5672/%2F
#RABBITMQ_QUEUE=whatsapp_events
https://n8n-oiqoqaet.ap-southeast-1.clawcloudrun.com/workflow/OhYJuML0Gvuti33i
Comments
Post a Comment