-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
62 lines (47 loc) · 3.05 KB
/
Copy path.env.example
File metadata and controls
62 lines (47 loc) · 3.05 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
# ── Backup Sentinel – Environment Variables ──────────────────────────────────
# Copy this file to .env and adjust the values:
# cp .env.example .env
# Public URL of the application (used in emails and bootstrap scripts)
APP_URL=https://backup-sentinel.example.com
# ── Database ─────────────────────────────────────────────────────────────────
DB_NAME=backup_reports
DB_USER=backup_reports
DB_PASSWORD=backup_reports
# PostgreSQL connection string (uses the DB_* variables above by default)
# BSENTINEL_DATABASE_URL=postgresql://backup_reports:backup_reports@postgres:5432/backup_reports
# Fernet key for encrypting secrets in the database (SMTP password, Gotify token).
# Generate with:
# python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())"
BSENTINEL_SECRET_KEY=changeme
# ── General ──────────────────────────────────────────────────────────────────
# Timezone for display and quiet hours
BSENTINEL_DEFAULT_TIMEZONE=Europe/Berlin
# Auto-sync interval in minutes
BSENTINEL_SYNC_INTERVAL_MINUTES=60
# API timeout in seconds for Proxmox/PBS requests
BSENTINEL_API_TIMEOUT=60
# Enable debug logging (true/false)
BSENTINEL_DEBUG=false
# Disable SSL verification for Proxmox/PBS API (for self-signed certs)
# BSENTINEL_INSECURE_SSL=true
# PDF report language (de / en, default: de)
# BSENTINEL_REPORT_LANGUAGE=de
# Backup-day boundary offset in hours. A long-running job can include VMs
# that finish the next morning — they should still count for the evening
# the job started. With 12h, the "backup day" runs 12:00 noon → 12:00 noon
# the next day. Set to 0 for strict wall-clock midnight.
# BSENTINEL_BACKUP_DAY_OFFSET_HOURS=12
# ── Branding (optional) ─────────────────────────────────────────────────────
# Logo URLs for light/dark mode
# BSENTINEL_BRAND_LOGO_LIGHT_URL=https://example.com/logo.svg
# BSENTINEL_BRAND_LOGO_DARK_URL=https://example.com/logo-dark.svg
# Logout URL (default: /oauth2/sign_out)
# BSENTINEL_LOGOUT_URL=/oauth2/sign_out
# ── Footer (optional) ───────────────────────────────────────────────────────
# Footer links – format: Label1|URL1,Label2|URL2
FOOTER_LINKS=Impressum|https://example.com/impressum,Datenschutz|https://example.com/privacy
# Copyright text (empty = hidden)
COPYRIGHT_TEXT=© 2026 Your Company
# ── Paths (optional) ────────────────────────────────────────────────────────
# BSENTINEL_DATA_DIR=/data
# BSENTINEL_REPORT_DIR=/reports