pre-deploy commit
This commit is contained in:
50
.env.example
50
.env.example
@@ -1,30 +1,58 @@
|
||||
# Telegram Bot Configuration
|
||||
# Telegram Tinder Bot Configuration
|
||||
# Rename this file to .env before starting the application
|
||||
|
||||
# === REQUIRED SETTINGS ===
|
||||
|
||||
# Telegram Bot Token (Get from @BotFather)
|
||||
TELEGRAM_BOT_TOKEN=your_telegram_bot_token_here
|
||||
|
||||
# Database Configuration
|
||||
# For local development (when running the bot directly)
|
||||
DB_HOST=localhost
|
||||
DB_PORT=5432
|
||||
DB_NAME=telegram_tinder_bot
|
||||
DB_USERNAME=postgres
|
||||
DB_PASSWORD=your_password_here
|
||||
|
||||
# Application Settings
|
||||
# === APPLICATION SETTINGS ===
|
||||
|
||||
# Environment (development, production)
|
||||
NODE_ENV=development
|
||||
|
||||
# Port for health checks
|
||||
PORT=3000
|
||||
|
||||
# Optional: Redis for caching (if using)
|
||||
REDIS_HOST=localhost
|
||||
REDIS_PORT=6379
|
||||
REDIS_PASSWORD=
|
||||
# === FILE UPLOAD SETTINGS ===
|
||||
|
||||
# Optional: File upload settings
|
||||
# Path for storing uploaded files
|
||||
UPLOAD_PATH=./uploads
|
||||
|
||||
# Maximum file size for uploads (in bytes, default: 5MB)
|
||||
MAX_FILE_SIZE=5242880
|
||||
|
||||
# Optional: External services
|
||||
GOOGLE_MAPS_API_KEY=your_google_maps_key
|
||||
CLOUDINARY_URL=your_cloudinary_url
|
||||
# === LOGGING ===
|
||||
|
||||
# Security
|
||||
# Log level (error, warn, info, debug)
|
||||
LOG_LEVEL=info
|
||||
|
||||
# Path for storing log files
|
||||
LOG_PATH=./logs
|
||||
|
||||
# === SECURITY ===
|
||||
|
||||
# Secret key for JWT tokens
|
||||
JWT_SECRET=your_jwt_secret_here
|
||||
|
||||
# Encryption key for sensitive data
|
||||
ENCRYPTION_KEY=your_encryption_key_here
|
||||
|
||||
# === ADVANCED SETTINGS ===
|
||||
|
||||
# Notification check interval in milliseconds (default: 60000 - 1 minute)
|
||||
NOTIFICATION_CHECK_INTERVAL=60000
|
||||
|
||||
# Number of matches to show per page
|
||||
MATCHES_PER_PAGE=10
|
||||
|
||||
# Number of profiles to load at once
|
||||
PROFILES_BATCH_SIZE=5
|
||||
|
||||
Reference in New Issue
Block a user