Commit Graph

20 Commits

Author SHA1 Message Date
ae60474cb7 monitoring02: enable alerting and migrate CNAMEs from http-proxy
Some checks failed
Run nix flake check / flake-check (push) Has been cancelled
- Switch vmalert from blackhole mode to sending alerts to local
  Alertmanager
- Import alerttonotify service so alerts route to NATS notifications
- Move alertmanager and grafana CNAMEs from http-proxy to monitoring02
- Add monitoring CNAME to monitoring02
- Add Caddy reverse proxy entries for alertmanager and grafana
- Remove prometheus, alertmanager, and grafana Caddy entries from
  http-proxy (now served directly by monitoring02)
- Move monitoring02 Vault AppRole to hosts-generated.tf and add
  shared/nats/nkey access and prometheus-metrics policy
- Add extra_policies support to generated host AppRoles

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 21:15:53 +01:00
21db7e9573 acme: migrate from step-ca to OpenBao PKI
Switch all ACME certificate issuance from step-ca (ca.home.2rjus.net)
to OpenBao PKI (vault.home.2rjus.net:8200/v1/pki_int/acme/directory).

- Update default ACME server in system/acme.nix
- Update Caddy acme_ca in http-proxy and nix-cache services
- Remove labmon service from monitoring01 (step-ca monitoring)
- Remove labmon scrape target and certificate_rules alerts
- Remove alloy.nix (only used for labmon profiling)
- Add docs/plans/cert-monitoring.md for future cert monitoring needs

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-07 18:20:10 +01:00
59e1962d75 auth01: decommission host and remove authelia/lldap services
Some checks failed
Run nix flake check / flake-check (pull_request) Successful in 2m5s
Run nix flake check / flake-check (push) Failing after 18m1s
Remove auth01 host configuration and associated services in preparation
for new auth stack with different provisioning system.

Removed:
- hosts/auth01/ - host configuration
- services/authelia/ - authelia service module
- services/lldap/ - lldap service module
- secrets/auth01/ - sops secrets
- Reverse proxy entries for auth and lldap
- Monitoring alert rules for authelia and lldap
- SOPS configuration for auth01

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 23:35:45 +01:00
3e943862ef Fix error in caddyfile
Some checks failed
Run nix flake check / flake-check (push) Failing after 4m21s
2025-06-01 02:25:50 +02:00
4754fea0c2 Configure more metrics for caddy
Some checks failed
Run nix flake check / flake-check (push) Has been cancelled
2025-06-01 02:24:34 +02:00
5b06a95222 Add prometheus pushgateway
Some checks failed
Run nix flake check / flake-check (push) Failing after 12m59s
2025-05-28 17:10:50 +02:00
2380c13465 Add pyroscope to caddy 2025-05-24 12:04:41 +02:00
6759653491 Add authelia to auth01
Some checks failed
Run nix flake check / flake-check (push) Failing after 29s
Periodic flake update / flake-update (push) Successful in 4m37s
2025-04-01 23:52:24 +02:00
cba1821f3b Add lldap to auth01 host 2025-04-01 22:23:59 +02:00
e366a05204 Fix caddy logging
Some checks failed
Run nix flake check / flake-check (push) Failing after 9m1s
Periodic flake update / flake-update (push) Successful in 1m36s
2025-01-28 00:49:22 +01:00
77432aa88c Add jellyfin to proxy
Some checks failed
Run nix flake check / flake-check (push) Failing after 9m41s
Periodic flake update / flake-update (push) Successful in 1m28s
2024-12-23 01:46:12 +01:00
1e7d8b4795 Add monitoring frontends to caddy
Some checks failed
Run nix flake check / flake-check (push) Failing after 8m32s
Periodic flake update / flake-update (push) Successful in 1m54s
2024-12-04 19:42:35 +01:00
4c60f7b5c1 Fix caddy metrics endpoint
Some checks failed
Run nix flake check / flake-check (push) Failing after 10m38s
2024-12-04 04:09:06 +01:00
5af18ca418 Gather caddy metrics
Some checks failed
Run nix flake check / flake-check (push) Has been cancelled
2024-12-04 04:02:24 +01:00
5844e7b32b Add internal CA
All checks were successful
Run nix flake check / flake-check (push) Successful in 3m31s
2024-11-30 20:24:43 +01:00
35071d5fc2 Add logging to http proxy 2024-11-30 12:53:20 +01:00
0058264fe1 Add home-assistant to proxy
All checks were successful
Run nix flake check / flake-check (push) Successful in 2m56s
Periodic flake update / flake-update (push) Successful in 2m16s
2024-11-09 14:07:40 +01:00
fcaba18602 Fix service urls for proxy
All checks were successful
Run nix flake check / flake-check (push) Successful in 2m45s
Periodic flake update / flake-update (push) Successful in 1m29s
2024-10-20 22:45:08 +02:00
42f74df4a5 Add services to proxy 2024-10-20 22:39:40 +02:00
a2db4db09e Add new cnames for proxy 2024-10-20 22:37:33 +02:00