34 lines
1.0 KiB
Bash
34 lines
1.0 KiB
Bash
# ============================================================
|
|
# Website Checker — Environment Variables
|
|
# Copy this file to .env and fill in your values.
|
|
# NEVER commit .env to version control.
|
|
# ============================================================
|
|
|
|
# Flask secret key — generate with: python -c "import secrets; print(secrets.token_hex(32))"
|
|
SECRET_KEY=change_me_to_a_random_secret_key
|
|
|
|
# MySQL connection
|
|
DB_HOST=127.0.0.1
|
|
DB_PORT=3306
|
|
DB_NAME=webchecker
|
|
DB_USER=webchecker_user
|
|
DB_PASSWORD=change_me_strong_db_password
|
|
|
|
# Fernet encryption key for website credentials
|
|
# Generate with: python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())"
|
|
CRYPTO_SECRET=change_me_to_a_fernet_key
|
|
|
|
# Groq AI (optional — used by AI Summary feature)
|
|
GROQ_API_KEY=
|
|
|
|
# Email / SMTP (optional — configured via Admin > Settings UI)
|
|
# These are the defaults; values can also be saved in the app_settings DB table.
|
|
SMTP_HOST=
|
|
SMTP_PORT=587
|
|
SMTP_USER=
|
|
SMTP_PASSWORD=
|
|
SMTP_FROM=
|
|
|
|
# Environment: development | production
|
|
FLASK_ENV=production
|