trashposs/docs/examples/Podman (quadlet)/trashposs-db.container

15 lines
368 B
Plaintext
Raw Normal View History

2024-04-06 23:55:59 +02:00
[Unit]
Description=TrashPoss PostgreSQL container
[Container]
Image=docker.io/postgres:15-alpine
ContainerName=trashposs_db
HostName=db
Network=trashposs.network
EnvironmentFile=%h/services/trashposs/.config/docker.env
Volume=%h/services/trashposs/db:/var/lib/postgresql/data:Z
[Service]
Restart=on-failure
TimeoutStartSec=900
[Install]
WantedBy=trashposs-web.service