Add caddy metrics
This commit is contained in:
parent
36c8cf2914
commit
2a86c1bd88
4 changed files with 14 additions and 0 deletions
|
@ -6,6 +6,9 @@ all:
|
|||
ansible_host: node001.serguzim.net
|
||||
ansible_port: "{{ vault_node001.ansible_port }}"
|
||||
ansible_user: "{{ vault_node001.ansible_user }}"
|
||||
host_vpn:
|
||||
domain: node001.vpn.serguzim.net
|
||||
ip: 100.64.0.1
|
||||
host_backup:
|
||||
hc_uid: "{{ vault_node001.backup.hc_uid }}"
|
||||
uptime_kuma_token: "{{ vault_node001.backup.uptime_kuma_token }}"
|
||||
|
@ -16,6 +19,9 @@ all:
|
|||
ansible_host: node002.serguzim.net
|
||||
ansible_port: "{{ vault_node002.ansible_port }}"
|
||||
ansible_user: "{{ vault_node002.ansible_user }}"
|
||||
host_vpn:
|
||||
domain: node002.vpn.serguzim.net
|
||||
ip: 100.64.0.2
|
||||
host_backup:
|
||||
hc_uid: "{{ vault_node002.backup.hc_uid }}"
|
||||
uptime_kuma_token: "{{ vault_node002.backup.uptime_kuma_token }}"
|
||||
|
@ -34,6 +40,9 @@ all:
|
|||
ansible_host: node003.serguzim.net
|
||||
ansible_port: "{{ vault_node003.ansible_port }}"
|
||||
ansible_user: "{{ vault_node003.ansible_user }}"
|
||||
host_vpn:
|
||||
domain: node003.vpn.serguzim.net
|
||||
ip: 100.64.0.3
|
||||
host_backup:
|
||||
hc_uid: "{{ vault_node003.backup.hc_uid }}"
|
||||
uptime_kuma_token: "{{ vault_node003.backup.uptime_kuma_token }}"
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
email {{ admin_email }}
|
||||
|
||||
servers {
|
||||
metrics
|
||||
strict_sni_host on
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,12 +8,15 @@ caddy_ports_default:
|
|||
- 80:80
|
||||
- 443:443
|
||||
- 443:443/udp
|
||||
- "{{ host_vpn.ip }}:2019:2019"
|
||||
caddy_ports: "{{ caddy_ports_default | union(caddy_ports_extra) }}"
|
||||
|
||||
caddy_svc:
|
||||
name: caddy
|
||||
|
||||
caddy_env:
|
||||
CADDY_ADMIN: 0.0.0.0:2019
|
||||
|
||||
ACMEDNS_USER: "{{ caddy_acmedns_user }}"
|
||||
ACMEDNS_PASS: "{{ caddy_acmedns_pass }}"
|
||||
ACMEDNS_SUBD: "{{ caddy_acmedns_subd }}"
|
||||
|
|
|
@ -8,6 +8,7 @@ telegraf_svc:
|
|||
bucket: metrics
|
||||
prometheus_unprotected:
|
||||
urls:
|
||||
- http://node002.vpn.serguzim.net:2019/metrics
|
||||
- https://matrix.msrg.cc/_synapse/metrics
|
||||
- https://push.serguzim.me/metrics
|
||||
- https://tick.serguzim.me/metrics
|
||||
|
|
Reference in a new issue