Adds firefly and homebox, replaces nginx-proxy/acme-companion with acme

This commit is contained in:
tga
2026-08-15 20:08:35 +02:00
parent 7e87a6cbb9
commit c8af74ad7d
38 changed files with 596 additions and 52 deletions
+6
View File
@@ -0,0 +1,6 @@
[Unit]
Description=Backups the firefly database
[Service]
Type=oneshot
ExecStart=/opt/bin/backup-postgres
+10
View File
@@ -0,0 +1,10 @@
[Unit]
Description=Timer for the backup-database service
[Timer]
OnCalendar=12:00:00
Persistent=true
Unit=backup-database.service
[Install]
WantedBy=timers.target
+6
View File
@@ -0,0 +1,6 @@
[Unit]
Description=Backups the homebox database
[Service]
Type=oneshot
ExecStart=/opt/bin/backup-postgres
+10
View File
@@ -0,0 +1,10 @@
[Unit]
Description=Timer for the backup-database service
[Timer]
OnCalendar=12:00:00
Persistent=true
Unit=backup-database.service
[Install]
WantedBy=timers.target
@@ -0,0 +1,9 @@
[Unit]
Description=Creates a certificate
[Service]
Type=oneshot
ExecStart=/usr/bin/podman exec -it acme --issue --server https://acme-v02.api.letsencrypt.org/directory --webroot /usr/share/nginx/html \
--cert-file /etc/nginx/certs/%I/cert.pem --key-file /etc/nginx/certs/%I/key.pem \
--ca-file /etc/nginx/certs/%I/chain.pem --fullchain-file /etc/nginx/certs/%I/fullchain.pem \
--domain %I
@@ -0,0 +1,6 @@
[Unit]
Description=Removes a certificate
[Service]
Type=oneshot
ExecStart=/usr/bin/podman exec -it acme --remove --ecc --domain %I
+6
View File
@@ -0,0 +1,6 @@
[Unit]
Description=Updates the account
[Service]
Type=oneshot
ExecStart=/usr/bin/podman exec -it acme --update-account --server https://acme-v02.api.letsencrypt.org/directory --accountemail guillaume.tache@hotmail.com
@@ -0,0 +1,6 @@
[Unit]
Description=Updates the certificates
[Service]
Type=oneshot
ExecStart=/usr/bin/podman exec -it acme --cron
+10
View File
@@ -0,0 +1,10 @@
[Unit]
Description=Timer for the update-certificates service
[Timer]
OnCalendar=01:00:00
Persistent=true
Unit=update-certificates.service
[Install]
WantedBy=timers.target