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,16 +4,20 @@ Description=Nextcloud database container
[Container]
AutoUpdate=registry
ContainerName=nextcloud-database
Environment=MYSQL_DATABASE=nextcloud
Environment=POSTGRES_DB=nextcloud
Environment=POSTGRES_USER=nextcloud
Environment=TZ=Europe/Zurich
Image=docker.io/mariadb:latest
HealthCmd=pg_isready -U nextcloud
HealthInterval=30s
HealthTimeout=10s
HealthRetries=5
Image=docker.io/postgres:18
Pod=nextcloud.pod
Secret=database-user,type=env,target=MYSQL_USER
Secret=database-password,type=env,target=MYSQL_PASSWORD
Secret=database-root-password,type=env,target=MYSQL_ROOT_PASSWORD
Secret=database-password,type=env,target=POSTGRES_PASSWORD
StartWithPod=true
Timezone=Europe/Zurich
Volume=nextcloud-database.volume:/var/lib/mysql
Volume=nextcloud-database.volume:/var/lib/postgresql
Volume=/var/mnt/nas/containers/nextcloud/storage/database-backup:/backup
[Service]
Restart=always