This commit is contained in:
Ruben 2025-12-30 15:12:54 -06:00
commit c20ffd49ab
Signed by: sneexy
GPG key ID: 8ECFA045E63BC583
10 changed files with 17 additions and 9 deletions

View file

@ -4,6 +4,7 @@ Description=PostgreSQL Database
[Container]
ContainerName=postgresql
Image=registry.hub.docker.com/groonga/pgroonga:latest-alpine-18
ContainerName=postgresql
EnvironmentFile=/var/containers/postgresql/.env
Network=postgresql.network
HealthCmd=pg_isready -U postgres -d postgres
@ -11,8 +12,8 @@ HealthInterval=40s
HealthTimeout=3s
HealthRetries=20
UserNS=keep-id:uid=999,gid=999
Volume=/var/containers/postgresql/db:/var/lib/postgresql/data:z,U
Volume=/var/containers/postgresql/exp:/mnt/exp:z,U
Volume=/var/containers/postgresql/db:/var/lib/postgresql/data:z
Volume=/var/containers/postgresql/exp:/mnt/exp:z
[Service]
Restart=always