Files
authentik/lifecycle/quadlet/rootless/authentik-postgresql.container
T
Dominic R ca24943fb0 lifecycle/quadlet: use systemd restart policy
Agent-thread: https://sdko.org/internal/threads/019e93bf-9dbb-7ba2-9375-cb430876c101

A7k-product: product

A7k-product-repo: 1

Co-authored-by: Agent <agent@svc.sdko.net>
2026-06-04 13:59:42 -04:00

24 lines
530 B
INI

[Unit]
Description=authentik PostgreSQL
[Container]
ContainerName=authentik-postgresql
Image=docker.io/library/postgres:16-alpine
AutoUpdate=registry
Pod=authentik.pod
Volume=authentik-database.volume:/var/lib/postgresql/data
EnvironmentFile=%h/.config/authentik/authentik.env
Environment=POSTGRES_DB=authentik
Environment=POSTGRES_USER=authentik
HealthCmd=pg_isready -d authentik -U authentik
HealthInterval=30s
HealthStartPeriod=20s
HealthTimeout=5s
HealthRetries=5
[Service]
Restart=always
[Install]
WantedBy=default.target