-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
35 lines (27 loc) · 1.32 KB
/
Copy path.env.example
File metadata and controls
35 lines (27 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Flask Configuration
FLASK_ENV=production
FLASK_DEBUG=False
SECRET_KEY=replace-with-your-super-secret-key-for-production
# Database
DATABASE_PATH=monitor.db
# SMTP Configuration (required for email notifications)
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USERNAME=
SMTP_PASSWORD=
SMTP_USE_TLS=True
# Application Settings
DEFAULT_CHECK_INTERVAL=300
# Optional: User-Agent for website requests (default: Nokwatch/1.0)
# USER_AGENT=Nokwatch/1.0
# Optional: Multiple User-Agents for rotation; separate with " || " (space-pipe-pipe-space)
# USER_AGENT_POOL=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 || Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36
# Optional: OpenAI API key for Smart Setup suggestions and AI content detection. Leave blank to disable.
# OPENAI_API_KEY=
# Optional: Fernet key for encrypting auth credentials and notification channel config in the database.
# Generate with: python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())"
# ENCRYPTION_KEY=
# Optional: Auto-exit after plugin install/uninstall so you can restart (default: true). When enabled,
# the app exits 2s after a plugin change; run it again to activate. Set to false when using systemd/Docker
# and restart the service instead: systemctl restart nokwatch
# RESTART_AFTER_PLUGIN_CHANGE=true