[Unit] Description=PostgreSQL HA Maintenance Container [Container] Volume=/home/david/.local/libexec/postgres-ha-peer-config.sh:/usr/local/libexec/postgres-ha-peer-config.sh:ro,Z ContainerName=postgres Image=docker.io/library/postgres@sha256:4ef4dbc939d61acea57712655ddb4b4ab27419c913f94cca0cd57cb3ea3c2280 Entrypoint=/usr/local/sbin/postgres-ha-bootstrap Exec=sleep infinity RunInit=true StopSignal=SIGTERM StopTimeout=5 Network=postgres.network PublishPort=5432:5432 Volume=postgres-data:/var/lib/postgresql:Z Volume=/home/david/.local/libexec/postgres-ha-bootstrap:/usr/local/sbin/postgres-ha-bootstrap:ro,Z Volume=/home/david/.config/postgres-ha/secrets:/run/secrets/postgres-ha:ro,Z EnvironmentFile=/home/david/.config/postgres-ha/postgres.env [Service] SuccessExitStatus=143 Restart=on-abnormal TimeoutStartSec=0