ЛР 7: TLS, mTLS, OpenBao и безопасность — на 3
Skeleton contracts / contracts (pull_request) Canceled after 0s

This commit is contained in:
2026-11-22 06:03:17 +03:00
parent 20afc2c790
commit 9fb7dde29b
112 changed files with 6226 additions and 80 deletions
+7
View File
@@ -0,0 +1,7 @@
#!/bin/sh
set -eu
install -d -o postgres -g postgres -m 0700 /run/pg-tls
install -o postgres -g postgres -m 0600 /run/tls/server.key /run/pg-tls/server.key
install -o postgres -g postgres -m 0644 /run/tls/server.crt /run/pg-tls/server.crt
exec docker-entrypoint.sh postgres -c ssl=on -c ssl_cert_file=/run/pg-tls/server.crt \
-c ssl_key_file=/run/pg-tls/server.key -c hba_file=/run/config/pg_hba.conf