[Unit] Description=Vikunja database container [Container] AutoUpdate=registry ContainerName=vikunja-database Environment=POSTGRES_USER=vikunja Environment=POSTGRES_DB=vikunja Environment=TZ=Europe/Zurich HealthCmd=pg_isready -U vikunja HealthInterval=30s HealthTimeout=10s HealthRetries=5 Image=docker.io/postgres:18 Label=io.containers.autoupdate=registry Pod=vikunja.pod Secret=database-password,type=env,target=POSTGRES_PASSWORD StartWithPod=true Timezone=Europe/Zurich Volume=vikunja-database.volume:/var/lib/postgresql Volume=/var/mnt/nas/containers/vikunja/storage/database-backup:/backup [Service] Restart=always [Install] WantedBy=default.target