-
-
Notifications
You must be signed in to change notification settings - Fork 474
Expand file tree
/
Copy path.env.easypanel.sample
More file actions
91 lines (73 loc) · 2.73 KB
/
Copy path.env.easypanel.sample
File metadata and controls
91 lines (73 loc) · 2.73 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# ===========================================
# WuzAPI - EasyPanel Environment Variables
# ===========================================
# Copy this file and configure the values below
# in EasyPanel's Environment Variables section
# -------------------------------------------
# REQUIRED - Security Tokens
# -------------------------------------------
# Admin token for managing users and sessions
# Generate a secure random string (minimum 32 characters)
WUZAPI_ADMIN_TOKEN=your_secure_admin_token_here_32chars
# Encryption key for sensitive data storage (exactly 32 characters for AES-256)
# IMPORTANT: Save this key! Losing it means losing access to all encrypted data
WUZAPI_GLOBAL_ENCRYPTION_KEY=your_32_character_encryption_key
# HMAC key for webhook signature verification (minimum 32 characters)
WUZAPI_GLOBAL_HMAC_KEY=your_hmac_key_minimum_32_characters
# -------------------------------------------
# REQUIRED - Database Configuration
# -------------------------------------------
# PostgreSQL credentials
DB_USER=wuzapi
DB_PASSWORD=your_secure_postgres_password
DB_NAME=wuzapi
# These are set automatically by docker-compose
# DB_HOST=db
# DB_PORT=5432
# DB_SSLMODE=disable
# -------------------------------------------
# OPTIONAL - Webhook Configuration
# -------------------------------------------
# Global webhook URL to receive all events from all users
# Leave empty to disable global webhook
WUZAPI_GLOBAL_WEBHOOK=
# Webhook format: json or form
WEBHOOK_FORMAT=json
# Webhook retry settings
WEBHOOK_RETRY_ENABLED=true
WEBHOOK_RETRY_COUNT=5
WEBHOOK_RETRY_DELAY_SECONDS=30
# -------------------------------------------
# OPTIONAL - Application Settings
# -------------------------------------------
# Timezone for server operations
TZ=America/Sao_Paulo
# Device name shown in WhatsApp
SESSION_DEVICE_NAME=WuzAPI
# Your domain (used for Traefik labels in EasyPanel)
DOMAIN=wuzapi.yourdomain.com
# -------------------------------------------
# OPTIONAL - RabbitMQ Configuration
# -------------------------------------------
# RabbitMQ credentials (if using message queue)
RABBITMQ_USER=wuzapi
RABBITMQ_PASSWORD=your_secure_rabbitmq_password
RABBITMQ_QUEUE=whatsapp_events
# -------------------------------------------
# NOTES FOR EASYPANEL
# -------------------------------------------
#
# 1. Mark these variables as "Secret" in EasyPanel:
# - WUZAPI_ADMIN_TOKEN
# - WUZAPI_GLOBAL_ENCRYPTION_KEY
# - WUZAPI_GLOBAL_HMAC_KEY
# - DB_PASSWORD
# - RABBITMQ_PASSWORD
#
# 2. After deployment, access:
# - Dashboard: https://your-domain/dashboard
# - API Docs: https://your-domain/api
# - QR Login: https://your-domain/login
#
# 3. For SSL, EasyPanel handles Let's Encrypt automatically
# when you configure a domain in the Domains section