Cleanup after backup, fixes generate-config, updates immich

This commit is contained in:
2026-05-09 09:10:20 +02:00
parent 81834b3851
commit f806bda21b
26 changed files with 454 additions and 172 deletions
+3 -4
View File
@@ -4,23 +4,22 @@ Description=Immich database container
[Container]
AutoUpdate=registry
ContainerName=immich-database
Environment=DB_STORAGE_TYPE=HDD
Environment=POSTGRES_USER=immich
Environment=POSTGRES_DB=immich
Environment=POSTGRES_INTIDB_ARGS=--data-checksums
Environment=POSTGRES_INITDB_ARGS=--data-checksums
Environment=TZ=Europe/Zurich
HealthCmd=pg_isready -U immich
HealthInterval=30s
HealthTimeout=10s
HealthRetries=5
Image=ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0@sha256:bcf63357191b76a916ae5eb93464d65c07511da41e3bf7a8416db519b40b1c23
Image=ghcr.io/immich-app/postgres:18-vectorchord0.5.3
Label=io.containers.autoupdate=registry
Pod=immich.pod
Secret=database-password,type=env,target=POSTGRES_PASSWORD
ShmSize=128m
StartWithPod=true
Timezone=Europe/Zurich
Volume=immich-database.volume:/var/lib/postgresql/data
Volume=immich-database.volume:/var/lib/postgresql
Volume=/var/mnt/nas/containers/immich/storage/database-backup:/backup
[Service]