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

@@ -7,12 +7,17 @@ ContainerName=paperless-database
Environment=POSTGRES_USER=paperless
Environment=POSTGRES_DB=paperless
Environment=TZ=Europe/Zurich
HealthCmd=pg_isready -U paperless
HealthInterval=30s
HealthTimeout=10s
HealthRetries=5
Image=docker.io/library/postgres:18
Pod=paperless.pod
Secret=database-password,type=env,target=POSTGRES_PASSWORD
StartWithPod=true
Timezone=Europe/Zurich
Volume=paperless-database.volume:/var/lib/postgresql
Volume=/var/mnt/nas/containers/paperless/storage/database-backup:/backup
[Service]
Restart=always

View File

@@ -1,7 +1,2 @@
[Volume]
Copy=true
Device=/var/mnt/nas/containers/paperless/storage/database
Driver=local
Options=bind
Type=none
VolumeName=paperless-database

View File

@@ -1,7 +1,2 @@
[Volume]
Copy=true
Device=/var/mnt/nas/containers/paperless/storage/redis-data
Driver=local
Options=bind
Type=none
VolumeName=paperless-redis-data