FDN-02/FDN-03/FDN-07/FDN-08: Migrations-Rollback, Objekt-Storage-Interface, go.sum-Fix, Observability
- FDN-02: Rollback-fähige Down-Migrationen (024-026), archivdms seed dev CLI - FDN-03: internal/objectstore Interface + lokaler WORM-Treiber, signierte Download-URLs - FDN-07: go.mod/go.sum vervollständigt (fehlender go-ldap/v3-Eintrag), CI-Pipeline (.gitea/workflows/ci.yml, bereits in FDN-01 committet) damit lauffähig - FDN-08: Request-ID-Middleware, /metrics-Endpoint, Panic-Recovery, Login/Logout/Me technisches Logging inkl. Access-Log je Anfrage
This commit is contained in:
@@ -6,6 +6,7 @@ storage:
|
||||
base_path: "/var/lib/archivdms" # enthält inbox/, store/, ocr-tmp/ (siehe README)
|
||||
retention_days: 3650 # GoBD default: 10 Jahre
|
||||
max_upload_size_mb: 50
|
||||
signed_url_ttl_minutes: 15 # Gültigkeit signierter Download-Links (Default 15)
|
||||
|
||||
ocr:
|
||||
tesseract_path: "tesseract" # muss im PATH liegen, apt install tesseract-ocr tesseract-ocr-deu
|
||||
@@ -70,6 +71,10 @@ api:
|
||||
secret: "CHANGE_ME_TO_A_LONG_RANDOM_SECRET"
|
||||
secure_cookies: true
|
||||
trusted_proxies: []
|
||||
# FDN-08: GET /metrics (Prometheus-Textformat) läuft ohne Login, dafür
|
||||
# IP-beschränkt. Loopback ist immer erlaubt; hier zusätzliche Scraper
|
||||
# freischalten (einzelne IPs oder CIDR). Leer = nur localhost.
|
||||
metrics_allowed_ips: [] # z.B. ["192.168.1.0/24"]
|
||||
|
||||
audit:
|
||||
log_path: "/var/log/archivdms/audit.log"
|
||||
|
||||
Reference in New Issue
Block a user