[Container]
Image=docker.io/library/postgres:16
AutoUpdate=registry
Network=hedgedoc.network
Volume=%h/volumes/hedgedoc/postgres:/var/lib/postgresql/data:Z

EnvironmentFile=%h/volumes/hedgedoc/postgres.env
Environment=POSTGRES_DB=hedgedoc
Environment=POSTGRES_USER=hedgedoc
Environment=TZ=Europe/Berlin
Environment=PGTZ=Europe/Berlin

[Service]
Restart=always

[Install]
WantedBy=default.target