Add .env.example
This commit is contained in:
parent
89f325cf46
commit
eaf22d429b
|
|
@ -0,0 +1,48 @@
|
|||
# Server Configuration
|
||||
NODE_ENV=development
|
||||
PORT=5000
|
||||
HOST=0.0.0.0
|
||||
|
||||
# Features Control
|
||||
ENABLE_API=true
|
||||
ENABLE_INTERACTIVE_BOT=true
|
||||
|
||||
# WhatsApp Bot Configuration
|
||||
BOT_NAME=WhatsApp Hybrid Gateway
|
||||
SESSION_DIR=./session
|
||||
UPLOADS_DIR=./uploads
|
||||
LOGS_DIR=./logs
|
||||
MEDIA_DIR=./media
|
||||
|
||||
# Security (uncomment and set in production)
|
||||
# API_KEY=your-secret-api-key-here
|
||||
CORS_ORIGIN=*
|
||||
|
||||
# File Upload Limits (MB)
|
||||
MAX_FILE_SIZE=100
|
||||
|
||||
# Logging Configuration
|
||||
LOG_LEVEL=info
|
||||
LOG_TO_FILE=false
|
||||
|
||||
# Rate Limiting (optional)
|
||||
RATE_LIMIT_ENABLED=false
|
||||
RATE_LIMIT_MAX=100
|
||||
RATE_LIMIT_WINDOW=3600000
|
||||
|
||||
# Advanced Features (optional)
|
||||
ENABLE_WEBHOOKS=false
|
||||
WEBHOOK_URL=
|
||||
ENABLE_ANALYTICS=false
|
||||
|
||||
# Database Configuration (for future features)
|
||||
# DB_HOST=localhost
|
||||
# DB_PORT=5432
|
||||
# DB_NAME=whatsapp_gateway
|
||||
# DB_USER=postgres
|
||||
# DB_PASS=your-password
|
||||
|
||||
# Redis Configuration (for advanced rate limiting)
|
||||
# REDIS_HOST=localhost
|
||||
# REDIS_PORT=6379
|
||||
# REDIS_PASSWORD=
|
||||
Loading…
Reference in New Issue