Migrate Uptime Kuma to Podman

This commit is contained in:
Viyurz 2024-10-15 10:05:25 +02:00
parent 68496774b6
commit 5bc20d671b
Signed by: Viyurz
SSH key fingerprint: SHA256:IskOHTmhHSJIvAt04N6aaxd5SZCVWW1Guf9tEcxIMj8
3 changed files with 20 additions and 4 deletions

View file

@ -64,7 +64,6 @@ projects:
projects_to_backup: projects_to_backup:
- keycloak - keycloak
- uptime-kuma
borg_repodir: "{{ cifs_mounts['backups']['path'] }}/borg" borg_repodir: "{{ cifs_mounts['backups']['path'] }}/borg"

View file

@ -0,0 +1,13 @@
services:
uptime:
container_name: uptime
image: docker.io/louislam/uptime-kuma:1
network_mode: pasta:-a,${env['pasta']['uptime']['ipv4']},-a,${env['pasta']['uptime']['ipv6']}
restart: always
environment:
- PUID=${env['users']['uptime']}
- PGID=${env['users']['uptime']}
ports:
- 127.0.0.1:${env['ports']['uptime']}:3001
volumes:
- ${env['volumes']['uptime']['datadir']}:/app/data

View file

@ -34,6 +34,7 @@ backup:
backup_sqlite: backup_sqlite:
stump: /mnt/stump/config/stump.db stump: /mnt/stump/config/stump.db
uptime: /mnt/uptimekumadata/kuma.db
borg_repo: /mnt/storagebox/backups/borg2 borg_repo: /mnt/storagebox/backups/borg2
borg_prune_opts: borg_prune_opts:
@ -81,6 +82,9 @@ pasta:
syncthing_relaysrv: syncthing_relaysrv:
ipv4: 10.86.21.1 ipv4: 10.86.21.1
ipv6: fc86::21 ipv6: fc86::21
uptime:
ipv4: 10.86.22.1
ipv6: fc86::22
vaultwarden: vaultwarden:
ipv4: 10.86.23.1 ipv4: 10.86.23.1
ipv6: fc86::23 ipv6: fc86::23
@ -110,7 +114,7 @@ ports:
syncthing_webui: 8384 syncthing_webui: 8384
syncthing_tcp: 9100 syncthing_tcp: 9100
syncthing_udp: 22000 syncthing_udp: 22000
uptime_kuma: 3001 uptime: 3001
vaultwarden: 8081 vaultwarden: 8081
@ -132,7 +136,7 @@ users:
syncthing: 1001 syncthing: 1001
syncthing_discosrv: 1002 syncthing_discosrv: 1002
syncthing_relaysrv: 1003 syncthing_relaysrv: 1003
uptime_kuma: 1006 uptime: 1006
vaultwarden: 1010 vaultwarden: 1010
@ -156,7 +160,7 @@ volumes:
datadir: /mnt/synapsedata datadir: /mnt/synapsedata
syncthing: syncthing:
datadir: /mnt/storagebox/syncthing datadir: /mnt/storagebox/syncthing
uptimekuma: uptime:
datadir: /mnt/uptimekumadata datadir: /mnt/uptimekumadata
vaultwarden: vaultwarden:
datadir: /mnt/vwdata datadir: /mnt/vwdata