podbox/quadlets/postiz/postiz-postgres.container
2025-04-01 21:46:07 -05:00

24 lines
427 B
Text

[Unit]
Description=Postiz DB
[Service]
Restart=on-failure
TimeoutStartSec=900
[Install]
WantedBy=default.target
[Container]
Image=docker.io/postgres:17-alpine
ContainerName=postiz-postgres
AutoUpdate=registry
Network=
HostName=postiz-postgres
Volume=postiz-db:/var/lib/postgresql/data
Environment=POSTGRES_USER=postiz-user
Environment=POSTGRES_DB=postiz-db-local
Secret=postiz-password,type=env,target=POSTGRES_PASSWORD