Add Dawarich stack
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
# Dawarich 1.8.1 serves the Prometheus endpoint on the web service at
|
||||
# /metrics. Port 9394 is the internal Sidekiq metrics endpoint consumed by
|
||||
# dawarich_app via SIDEKIQ_METRICS_URL.
|
||||
#
|
||||
# Prerequisites in monitoring/docker-compose.yml:
|
||||
# - attach service `prometheus` to external `backend_net`
|
||||
# - mount Docker secret/file `/mnt/user/appdata/secrets/dawarich_metrics_password.txt`
|
||||
# into the Prometheus container at `/run/secrets/dawarich_metrics_password`
|
||||
|
||||
- job_name: dawarich
|
||||
metrics_path: /metrics
|
||||
scheme: http
|
||||
basic_auth:
|
||||
username: prometheus
|
||||
password_file: /run/secrets/dawarich_metrics_password
|
||||
static_configs:
|
||||
- targets:
|
||||
- dawarich_app:3000
|
||||
Reference in New Issue
Block a user