netviz/.env.example
2025-03-25 23:41:13 +01:00

31 lines
No EOL
780 B
Text

# Flask Configuration
FLASK_APP=app
FLASK_ENV=development
SECRET_KEY=change_this_to_a_secure_random_string
SECURITY_PASSWORD_SALT=change_this_too
# Database Configuration
DATABASE_URL=sqlite:///netviz.db
# For PostgreSQL with Docker:
# DATABASE_URL=postgresql://netviz:netviz_password@db:5432/netviz
# Rate Limiting
RATELIMIT_STORAGE_URL=memory://
RATELIMIT_DEFAULT=200/day;50/hour;10/minute
# Mail Configuration (for password reset)
MAIL_SERVER=smtp.example.com
MAIL_PORT=587
MAIL_USE_TLS=True
MAIL_USERNAME=your_username
MAIL_PASSWORD=your_password
MAIL_DEFAULT_SENDER=noreply@netviz.example.com
# Session Configuration
SESSION_TYPE=filesystem
# For Redis with Docker:
# SESSION_TYPE=redis
# SESSION_REDIS=redis://redis:6379/0
# Security Headers
SECURE_HEADERS_ENABLED=True