36 lines
818 B
Plaintext
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
|