# container-postgres.service # autogenerated by Podman 4.9.3 # Fri Feb 6 17:23:12 CET 2026 [Unit] Description=Podman container-postgres.service Documentation=man:podman-generate-systemd(1) Wants=network-online.target After=network-online.target RequiresMountsFor=%t/containers BindsTo=pod-kontor.service After=pod-kontor.service [Service] Environment=PODMAN_SYSTEMD_UNIT=%n Restart=on-failure TimeoutStopSec=70 ExecStart=/usr/bin/podman run \ --cidfile=%t/%n.ctr-id \ --cgroups=no-conmon \ --rm \ --pod-id-file %t/pod-kontor.pod-id \ --sdnotify=conmon \ -d \ --replace \ --name postgres \ -e POSTGRES_PASSWORD=kontor \ -e POSTGRES_DB=kontor \ -e POSTGRES_USER=kontor \ -v kontor-db:/var/lib/postgresql/data "--health-cmd=pg_isready -U kontor || exit 1" \ --health-interval=1s \ --health-timeout=5s \ --health-retries=10 docker.io/library/postgres:17 ExecStop=/usr/bin/podman stop \ --ignore -t 10 \ --cidfile=%t/%n.ctr-id ExecStopPost=/usr/bin/podman rm \ -f \ --ignore -t 10 \ --cidfile=%t/%n.ctr-id Type=notify NotifyAccess=all [Install] WantedBy=default.target