diff --git a/roles/authentik/tasks/main.yml b/roles/authentik/tasks/main.yml index c98dea8..edec222 100644 --- a/roles/authentik/tasks/main.yml +++ b/roles/authentik/tasks/main.yml @@ -43,6 +43,7 @@ - name: authentik-redis - name: postgresql - name: haproxy + - name: monitoring user: root volumes: - authentik-media:/media @@ -93,6 +94,7 @@ networks: - name: authentik - name: haproxy + - name: monitoring volumes: - authentik-certs:/certs - /etc/letsencrypt/live/comfycamp.space/fullchain.pem:/certs/comfycamp.space/fullchain.pem:ro diff --git a/roles/monitoring/templates/prometheus.yml.j2 b/roles/monitoring/templates/prometheus.yml.j2 index c013f54..978a046 100644 --- a/roles/monitoring/templates/prometheus.yml.j2 +++ b/roles/monitoring/templates/prometheus.yml.j2 @@ -14,3 +14,6 @@ scrape_configs: scheme: http static_configs: - targets: ["minio:9000"] + - job_name: authentik + static_configs: + - targets: ["authentik-1:9300"]