# vim: ft=systemd
[Container]
Environment=POSTGRES_PASSWORD=immich POSTGRES_USER=immich POSTGRES_DB=immich POSTGRES_INITDB_ARGS=--data-checksums
Image=ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0@sha256:bcf63357191b76a916ae5eb93464d65c07511da41e3bf7a8416db519b40b1c23
Pod=immich.pod
ShmSize=128mb

Notify=healthy
Volume={{ immich_postgres_dir }}:/var/lib/postgresql/data

Environment=POSTGRES_USER=immich POSTGRES_PASSWORD=immich POSTGRES_DB=immich
HealthCmd=["pg_isready","-U","immich"]
HealthInterval=10s
HealthStartPeriod=30s

[Service]
Restart=always
