-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.ini.sample
More file actions
76 lines (63 loc) · 2.35 KB
/
Copy pathconfig.ini.sample
File metadata and controls
76 lines (63 loc) · 2.35 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# UP Bridge Configuration
#
# This file configures general settings only. Email accounts and
# notification providers are managed via the web dashboard or REST API
# and stored encrypted in the database.
#
# On first upgrade from v2.x, existing EMAIL/NTFY/PUSHOVER/GOTIFY/APPRISE
# sections are automatically migrated to the database. You can remove
# them from this file after migration.
[GENERAL]
# --- Logging ---
LogFileLocation = /var/log/notimail/notimail.log
# LogRotationType can be "size" or "time"
LogRotationType = size
# LogRotationSize - Only if size is selected - default is 10 MB
LogRotationSize = 10485760
# LogRotationInterval - Only if time is selected - in days
LogRotationInterval = 7
LogBackupCount = 5
# --- Database ---
DataBaseLocation = /var/cache/notimail/notimail.db
# --- Encryption ---
# Path to the Fernet encryption key file (auto-generated on first run)
SecretKeyLocation = /etc/notimail/secret.key
# --- Web Interface (required for user management) ---
FlaskHost = 0.0.0.0
FlaskPort = 8080
# FlaskSecretKey is auto-derived from the encryption key.
# Override here only if you need a specific value:
#FlaskSecretKey = your-custom-secret
# --- Session ---
SessionLifetimeHours = 24
# --- Invite Settings ---
InviteExpiryDays = 7
# --- Brute-Force Protection ---
RateLimitMaxAttempts = 5
RateLimitWindowMinutes = 15
RateLimitLockoutMinutes = 30
# --- Reverse Proxy ---
# Set to the number of trusted proxies (e.g. 1 for nginx in front)
# so that request.remote_addr reflects the real client IP.
# WARNING: Only set this if you are behind a trusted reverse proxy.
#TrustedProxies = 1
# --- Prometheus (optional) ---
# Metrics server won't start if not specified or if prometheus_client is not installed.
#PrometheusHost = 0.0.0.0
#PrometheusPort = 8000
# =====================================================================
# LEGACY: The sections below are only needed for migration from v2.x.
# After migration, email accounts are managed via the web dashboard
# or REST API and these sections can be removed.
# =====================================================================
#[EMAIL:account1]
#EmailUser = your@address.com
#EmailPass = YourPassword
#Host = mail.example.com
#Folders = inbox, sent
#[NTFY:account1]
#Url1 = https://ntfy.sh/TOPIC1
#Token1 = Optional token
#[NTFY]
#Url1 = https://ntfy.example.com/global_topic
#Token1 = Optional global token