45 lines
1.1 KiB
Bash
45 lines
1.1 KiB
Bash
# Database
|
|
DATABASE_URL=postgresql://tower:tower_dev@localhost:5433/tower_dev
|
|
|
|
# Redis
|
|
REDIS_URL=redis://localhost:6379
|
|
|
|
# API
|
|
API_PORT=3001
|
|
|
|
# Auth
|
|
JWT_SECRET=change_me_in_production_must_be_32_chars_min
|
|
|
|
# Meilisearch
|
|
MEILI_URL=http://localhost:7700
|
|
MEILI_MASTER_KEY=tower_meili_dev_key
|
|
|
|
# Logging
|
|
NODE_ENV=development
|
|
LOG_LEVEL=debug
|
|
|
|
# WhatsApp
|
|
WHATSAPP_SESSION_PATH=./sessions
|
|
|
|
# TOWER Portal (used by worker command-handler to construct onboarding links)
|
|
TOWER_PORTAL_BASE_URL=http://localhost:3000
|
|
|
|
# Auth
|
|
BCRYPT_ROUNDS=10
|
|
JWT_EXPIRES_IN=7d
|
|
MEMBER_JWT_EXPIRES_IN=30d
|
|
|
|
# Default seed admin (only used in dev)
|
|
SEED_ADMIN_EMAIL=admin@tower.local
|
|
SEED_ADMIN_PASSWORD=tower_dev_password
|
|
|
|
# SMTP (optional — leave SMTP_HOST blank to skip email notifications).
|
|
# Defaults shown are for Ethereal (https://ethereal.email), a fake SMTP for testing.
|
|
# Generate fresh creds at https://ethereal.email/create and paste them below.
|
|
SMTP_HOST=smtp.ethereal.email
|
|
SMTP_PORT=587
|
|
SMTP_SECURE=false
|
|
SMTP_USER=garrett.padberg@ethereal.email
|
|
SMTP_PASS=c93RRyQMb9WFysYZ6q
|
|
SMTP_FROM=TOWER <noreply@tower.local>
|