Run container as keeper user, add basic auth to prometheus

This commit is contained in:
2024-01-16 15:33:56 +01:00
parent 7499b69a98
commit 1aec892a02
7 changed files with 35 additions and 21 deletions

View File

@@ -10,15 +10,6 @@ alerting:
timeout: 10s
api_version: v1
scrape_configs:
- job_name: prometheus
honor_timestamps: true
scrape_interval: 15s
scrape_timeout: 10s
metrics_path: /metrics
scheme: http
static_configs:
- targets:
- localhost:9090
- job_name: keeper
honor_timestamps: true
scrape_interval: 15s

2
prometheus/web.yml Normal file
View File

@@ -0,0 +1,2 @@
basic_auth_users:
prom: $2y$10$oWtHm79bh0D1CnNC4brGiOU7y6MbYa6cgklF/g6ek9YZYkgXfeOIu