forked from rmyndharis/OpenWA
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.minimal
More file actions
43 lines (35 loc) · 1.07 KB
/
Copy path.env.minimal
File metadata and controls
43 lines (35 loc) · 1.07 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
# ===========================================
# OpenWA - Environment Configuration (Minimal)
# ===========================================
# This is a minimal configuration for development
# and single-session personal bots using SQLite.
# Server
PORT=2785
NODE_ENV=development
# Database (SQLite - no external service required)
DATABASE_TYPE=sqlite
DATABASE_NAME=./data/openwa.sqlite
DATABASE_SYNCHRONIZE=true
DATABASE_LOGGING=false
# WhatsApp Engine
ENGINE_TYPE=whatsapp-web.js
SESSION_DATA_PATH=./data/sessions
PUPPETEER_HEADLESS=true
PUPPETEER_ARGS=--no-sandbox,--disable-setuid-sandbox,--disable-dev-shm-usage
# Webhook
WEBHOOK_TIMEOUT=10000
WEBHOOK_MAX_RETRIES=3
WEBHOOK_RETRY_DELAY=5000
# Storage (Local filesystem)
STORAGE_TYPE=local
STORAGE_LOCAL_PATH=./data/media
# Redis & Queue (disabled for minimal setup)
REDIS_ENABLED=false
REDIS_BUILTIN=false
QUEUE_ENABLED=false
CACHE_ENABLED=false
# Built-in Docker services (all disabled for minimal setup)
POSTGRES_BUILTIN=false
MINIO_BUILTIN=false
# API Security (optional for development)
# API_MASTER_KEY=your-master-api-key-here