[Unit] Description=Semaphore UI PostgreSQL Database [Container] Image=docker.io/library/postgres:18.1-trixie ContainerName=semaphore-db User=1001:1001 Volume=/var/lib/semaphore/postgresql:/var/lib/postgresql:z Exec=postgres -c shared_buffers=256MB -c min_wal_size=80MB HealthCmd=pg_isready -U semaphore HealthInterval=30s HealthTimeout=10s HealthRetries=5 HealthStartPeriod=1m HealthOnFailure=kill LogDriver=journald [Service] Restart=always RestartSec=5 TimeoutStartSec=900