forked from asternic/wuzapi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.sample
More file actions
35 lines (27 loc) · 818 Bytes
/
.env.sample
File metadata and controls
35 lines (27 loc) · 818 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# .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