Adds immich, puts redis/database on NVME, uses postgres for wallabag and nextcloud, adds backup services

This commit is contained in:
2025-11-15 08:56:05 +01:00
parent 7b21388adc
commit e552750f66
36 changed files with 158 additions and 81 deletions

View File

@@ -4,17 +4,20 @@ Description=Wallabag database container
[Container]
AutoUpdate=registry
ContainerName=wallabag-database
Environment=POSTGRES_DB=wallabag
Environment=POSTGRES_USER=wallabag
Environment=TZ=Europe/Zurich
HealthCmd=CMD mysqladmin ping -h localhost
HealthCmd=pg_isready -U wallabag
HealthInterval=30s
HealthTimeout=10s
HealthRetries=5
Image=docker.io/mariadb:latest
Image=docker.io/postgres:18
Pod=wallabag.pod
Secret=database-root-password,type=env,target=MYSQL_ROOT_PASSWORD
Secret=database-password,type=env,target=POSTGRES_PASSWORD
StartWithPod=true
Timezone=Europe/Zurich
Volume=wallabag-database.volume:/var/lib/mysql
Volume=wallabag-database.volume:/var/lib/postgresql
Volume=/var/mnt/nas/containers/wallabag/storage/database-backup:/backup
[Service]
Restart=always