synth.download/beeper/etc/containers/systemd/postgresql/postgresql.container

22 lines
530 B
Text
Raw Normal View History

2025-12-30 00:54:29 +07:00
[Unit]
Description=PostgreSQL Database
[Container]
2026-01-03 21:59:18 +07:00
Image=docker.io/groonga/pgroonga:latest-alpine-18
2025-12-31 03:13:47 +07:00
ContainerName=postgresql
2026-01-02 04:38:40 +07:00
EnvironmentFile=/etc/containers/systemd/postgresql/.env
2025-12-30 00:54:29 +07:00
Network=postgresql.network
HealthCmd=pg_isready -U postgres -d postgres
HealthInterval=40s
HealthTimeout=3s
HealthRetries=20
2025-12-30 16:49:18 +07:00
UserNS=keep-id:uid=999,gid=999
2026-01-02 05:03:40 +07:00
Volume=/var/containers/postgresql/data:/var/lib/postgresql/data:Z
Volume=/var/containers/postgresql/exp:/mnt/exp:Z
2025-12-30 00:54:29 +07:00
[Service]
Restart=always
RestartSec=10s
[Install]
WantedBy=default.target