Restore Dawarich metrics basic auth config

This commit is contained in:
2026-06-21 23:02:26 +02:00
parent 4cf9e3226e
commit b236eaeeaa
6 changed files with 9 additions and 16 deletions
+1 -3
View File
@@ -22,7 +22,7 @@ services:
expose:
- "9090"
secrets:
- source: dawarich_metrics_basic_auth
- source: dawarich_metrics_password
mode: 0444
security_opt:
- no-new-privileges:true
@@ -421,7 +421,5 @@ secrets:
file: /mnt/user/appdata/secrets/influxdb3_admin_token.json
dawarich_metrics_password:
file: /mnt/user/appdata/secrets/dawarich_metrics_password.txt
dawarich_metrics_basic_auth:
file: /mnt/user/appdata/secrets/dawarich_metrics_basic_auth.txt
dawarich_grafana_ro_password:
file: /mnt/user/appdata/secrets/dawarich_grafana_ro_password.txt
+3 -3
View File
@@ -39,9 +39,9 @@ scrape_configs:
- job_name: dawarich
metrics_path: /metrics
scheme: https
authorization:
type: Basic
credentials_file: /run/secrets/dawarich_metrics_basic_auth
basic_auth:
username: prometheus
password_file: /run/secrets/dawarich_metrics_password
static_configs:
# Dawarich >= 1.7.7 serves aggregated web + Sidekiq metrics here.
- targets: