From 6e9d282b2956ab7e6ce1e09843799f379002e517 Mon Sep 17 00:00:00 2001 From: Rik Veenboer Date: Sat, 7 Jun 2025 16:37:51 +0200 Subject: [PATCH] bind to 0.0.0.0 --- postgres/entrypoint.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/postgres/entrypoint.sh b/postgres/entrypoint.sh index 5171ffd..248a0fe 100644 --- a/postgres/entrypoint.sh +++ b/postgres/entrypoint.sh @@ -6,4 +6,7 @@ chown postgres:postgres /cert.pem chmod 0400 /key.pem chown postgres:postgres /key.pem +chown -R postgres:postgres /var/lib/postgresql/data/ +chmod -R 0700 /var/lib/postgresql/data/ + exec "$@"