move .env to /etc/containers/systemd

This commit is contained in:
zenfyr 2026-01-02 04:38:40 +07:00
commit 6cf7e7f1d7
Signed by: melontini
SSH key fingerprint: SHA256:TtcIcnTnoAB5mqHofsaOxIgiMzfVBxej1AXT7DQdrTE
23 changed files with 30 additions and 30 deletions

View file

@ -4,7 +4,7 @@ Description=PostgreSQL Database
[Container]
Image=registry.hub.docker.com/groonga/pgroonga:latest-alpine-18
ContainerName=postgresql
EnvironmentFile=/var/containers/postgresql/.env
EnvironmentFile=/etc/containers/systemd/postgresql/.env
Network=postgresql.network
HealthCmd=pg_isready -U postgres -d postgres
HealthInterval=40s