This commit is contained in:
Tomas Dvorak
2025-11-11 10:29:30 +01:00
parent d5b4faea61
commit 8762bde4bf
139 changed files with 7240 additions and 2870 deletions
+7 -1
View File
@@ -76,7 +76,10 @@ type Config struct {
UmamiURL string
UmamiUsername string
UmamiPassword string
UmamiWebsiteID string // If empty, will auto-create on production
UmamiWebsiteID string
ErrorIngestURL string
ErrorIngestToken string
// Antivirus (optional)
ClamAVEnabled bool
@@ -182,6 +185,9 @@ func LoadConfig() {
UmamiPassword: getEnv("UMAMI_PASSWORD", ""),
UmamiWebsiteID: getEnv("UMAMI_WEBSITE_ID", ""),
ErrorIngestURL: getEnv("ERROR_INGEST_URL", ""),
ErrorIngestToken: getEnv("ERROR_INGEST_TOKEN", ""),
// Antivirus (optional)
ClamAVEnabled: getEnvAsBool("CLAMAV_ENABLED", false),
ClamAVHost: getEnv("CLAMAV_HOST", "127.0.0.1"),