feat: add Docker/OpenTofu deployment and DE/NL routing

This commit is contained in:
BuTzZ
2026-07-24 23:10:17 +02:00
parent 57f7b4dedb
commit 12eee8d211
59 changed files with 4452 additions and 148 deletions
@@ -0,0 +1,11 @@
[Unit]
Description=Watermaps Let's-Encrypt-Zertifikat erneuern
Wants=network-online.target
After=network-online.target docker.service watermaps-volume-setup.service
Requires=docker.service
RequiresMountsFor=/srv/watermaps-data
[Service]
Type=oneshot
WorkingDirectory=/opt/watermaps
ExecStart=/opt/watermaps/deploy/scripts/renew-certificate.sh
@@ -0,0 +1,11 @@
[Unit]
Description=Watermaps-Zertifikat zweimal täglich prüfen
[Timer]
OnCalendar=*-*-* 03,15:17:00
RandomizedDelaySec=45m
Persistent=true
Unit=watermaps-certbot-renew.service
[Install]
WantedBy=timers.target
@@ -0,0 +1,14 @@
[Unit]
Description=Watermaps Deutschland-/Niederlande-Routingdaten aktualisieren
Wants=network-online.target
After=network-online.target docker.service watermaps-volume-setup.service
Requires=docker.service
RequiresMountsFor=/srv/watermaps-data
[Service]
Type=oneshot
WorkingDirectory=/opt/watermaps
ExecStart=/opt/watermaps/deploy/scripts/update-route-data.sh
Nice=10
IOSchedulingClass=best-effort
IOSchedulingPriority=7
@@ -0,0 +1,11 @@
[Unit]
Description=Täglich Watermaps-Routingdaten aktualisieren
[Timer]
OnCalendar=*-*-* 06:15:00
RandomizedDelaySec=30m
Persistent=true
Unit=watermaps-route-update.service
[Install]
WantedBy=timers.target