Files
wuzapi/.env.sample
Felipe Aquino 8b80b70471
Some checks failed
Build and Test / Build Go Application (push) Has been cancelled
Publish Docker image / build-and-push (push) Has been cancelled
Update Contributors / update-contributors (push) Has been cancelled
upload
2026-03-04 10:54:04 -03:00

36 lines
818 B
Plaintext

# .env
# Server Configuration
WUZAPI_PORT=8080
WUZAPI_ADDRESS=0.0.0.0
# Token for WuzAPI Admin
WUZAPI_ADMIN_TOKEN=1234ABCD
# 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://example.com/webhook
# "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