Compare commits

..

12 commits

Author SHA1 Message Date
b12f ab70e4696c
chore: run nix fmt
Some checks failed
Flake checks / Check (pull_request) Failing after 1h0m52s
2024-09-10 15:26:07 +02:00
teutat3s 6dab4ffb2e
alerts: fix condition
Some checks failed
Flake checks / Check (pull_request) Failing after 10m39s
2024-09-10 14:28:42 +02:00
teutat3s 9cbd60a80b
alerts.pub.solar: use DNS challenge for cert
Some checks failed
Flake checks / Check (pull_request) Failing after 1m30s
2024-09-10 14:27:35 +02:00
teutat3s 6a235fa0d8
alerts: add check for healthy garage cluster 2024-09-10 14:26:26 +02:00
teutat3s 19963ee749
trinkgenossin: fix duplicate promtail, prometheus-exporter 2024-09-10 14:25:51 +02:00
teutat3s b2cb9755e1
monitoring: add prometheus-exporter, promtail to
delite, blue-shell

add instance labels to garage scrape jobs
2024-09-10 14:25:00 +02:00
teutat3s 3556a653be
delite: use static IP in initrd, DHCP not working 2024-09-10 14:22:40 +02:00
teutat3s b72384b8d1
loki: store logs in /var/lib/loki 2024-09-10 14:22:04 +02:00
teutat3s 7910f61dd5
dns: switch to opentofu + terraform-backend-git,
Some checks failed
Flake checks / Check (pull_request) Failing after 14m46s
use opentofu encrypted state feature

https://opentofu.org/docs/language/state/encryption/#new-project
2024-09-10 10:49:13 +02:00
teutat3s c4d95b625f
dns: remove old, unused DKIM key
All checks were successful
Flake checks / Check (pull_request) Successful in 18m16s
We have our own mailserver now
2024-09-09 17:53:58 +02:00
teutat3s 4119a01f77
flake: remove triton-vmtools, no longer needed
It was only used on flora-6
2024-09-09 17:52:04 +02:00
b12f 529766413e
flora-6: remove
Some checks failed
Flake checks / Check (pull_request) Has been cancelled
This commit removes the flora-6 host. All services are moved to
trinkgenossin, with the drone service being removed completely in favour
of forgejo actions.
2024-09-09 17:22:57 +02:00

View file

@ -154,11 +154,11 @@ in
"/tmp/obs-portal-backup.sql" "/tmp/obs-portal-backup.sql"
]; ];
timerConfig = { timerConfig = {
OnCalendar = "*-*-* 01:30:00 Etc/UTC"; OnCalendar = "*-*-* 00:30:00 Etc/UTC";
}; };
initialize = true; initialize = true;
backupPrepareCommand = '' backupPrepareCommand = ''
${pkgs.docker}/bin/docker exec -i --user postgres obs-portal-db pg_dump obs > /tmp/obs-portal-backup.sql ${pkgs.docker}/bin/docker exec -ti --user postgres obs-portal-db pg_dump obs > /tmp/obs-portal-backup.sql
''; '';
backupCleanupCommand = '' backupCleanupCommand = ''
rm /tmp/obs-portal-backup.sql rm /tmp/obs-portal-backup.sql