This commit is contained in:
k00kzaAntonovaIra
2026-11-25 20:16:24 +03:00
parent 20afc2c790
commit 9dcf5b1118
197 changed files with 21197 additions and 182 deletions
+9
View File
@@ -0,0 +1,9 @@
#!/bin/sh
set -eu
install -d -m 0700 -o postgres -g postgres /run/postgres-tls
install -m 0600 -o postgres -g postgres /run/tls/server.key /run/postgres-tls/server.key
exec /usr/local/bin/docker-entrypoint.sh postgres \
-c ssl=on -c ssl_min_protocol_version=TLSv1.2 \
-c ssl_cert_file=/run/tls/server.crt -c ssl_key_file=/run/postgres-tls/server.key \
-c hba_file=/etc/postgres/pg_hba.conf