66 lines
1.5 KiB
Plaintext
66 lines
1.5 KiB
Plaintext
# 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 ===
|
|
|
|
# Environment (development, production)
|
|
NODE_ENV=development
|
|
|
|
# Port for health checks
|
|
PORT=3000
|
|
|
|
# === FILE UPLOAD SETTINGS ===
|
|
|
|
# Path for storing uploaded files
|
|
UPLOAD_PATH=./uploads
|
|
|
|
# Maximum file size for uploads (in bytes, default: 5MB)
|
|
MAX_FILE_SIZE=5242880
|
|
|
|
# === LOGGING ===
|
|
|
|
# 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
|
|
|
|
# === KAKAO MAPS API ===
|
|
|
|
# Kakao REST API Key for location services (Get from https://developers.kakao.com/)
|
|
# You can use either KAKAO_REST_API_KEY or KAKAO_MAP_REST_KEY
|
|
KAKAO_REST_API_KEY=your_kakao_rest_api_key_here
|
|
# KAKAO_MAP_REST_KEY=your_kakao_rest_api_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
|