Domain support
This commit is contained in:
25
.env.example
Normal file
25
.env.example
Normal file
@@ -0,0 +1,25 @@
|
||||
# Backend .env örneği
|
||||
# Bu dosyayı kopyalayın ve .env olarak kaydedin
|
||||
|
||||
# Sunucu Ayarları
|
||||
NODE_ENV=production
|
||||
PORT=3000
|
||||
BASE_URL=https://yourdomain.com
|
||||
|
||||
# Session Secret (güçlü bir rastgele değer kullanın)
|
||||
# Oluşturmak için: node -e "console.log(require('crypto').randomBytes(64).toString('hex'))"
|
||||
SESSION_SECRET=change-this-to-a-strong-random-secret-key
|
||||
|
||||
# Gmail Ayarları (panelden de girebilirsiniz)
|
||||
GMAIL_USER=
|
||||
GMAIL_APP_PASSWORD=
|
||||
|
||||
# Telegram Bot (panelden de girebilirsiniz)
|
||||
TELEGRAM_BOT_TOKEN=
|
||||
TELEGRAM_CHAT_ID=
|
||||
|
||||
# Database
|
||||
DB_PATH=./database/oltalama.db
|
||||
|
||||
# Log Seviyesi
|
||||
LOG_LEVEL=info
|
||||
Reference in New Issue
Block a user