parent
fcc0d615a7
commit
4a7df9969d
23 changed files with 746 additions and 0 deletions
25
chris-here-bitte/templates/Caddyfile
Normal file
25
chris-here-bitte/templates/Caddyfile
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
# {{ ansible_managed }}
|
||||
|
||||
grafana.{{ monitoring_server_base_domain }} {
|
||||
reverse_proxy localhost:3000
|
||||
}
|
||||
|
||||
loki.{{ monitoring_server_base_domain }} {
|
||||
basicauth {
|
||||
{% for username, pw in (lookup("community.sops.sops", "monitoring_secrets.enc.yaml", extract='["caddy_basic_auth"]') | from_yaml).items() -%}
|
||||
{{ username }} {{ pw | password_hash(hashtype="bcrypt") }}
|
||||
{% endfor %}
|
||||
}
|
||||
|
||||
reverse_proxy localhost:3100
|
||||
}
|
||||
|
||||
mimir.{{ monitoring_server_base_domain }} {
|
||||
basicauth {
|
||||
{% for username, pw in (lookup("community.sops.sops", "monitoring_secrets.enc.yaml", extract='["caddy_basic_auth"]') | from_yaml).items() -%}
|
||||
{{ username }} {{ pw | password_hash(hashtype="bcrypt") }}
|
||||
{% endfor %}
|
||||
}
|
||||
|
||||
reverse_proxy localhost:9009
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue