ЛР 7 — БВТ2302 — Макаренко — TLS и управление секретами
Skeleton contracts / contracts (pull_request) Blocked by required conditions

This commit is contained in:
2026-12-04 13:41:59 +03:00
parent 20afc2c790
commit 8a3cf7f2dd
55 changed files with 1991 additions and 24 deletions
Executable
+6
View File
@@ -0,0 +1,6 @@
#!/bin/sh
set -eu
cp /certs/db.key /tmp/pg.key
chown postgres:postgres /tmp/pg.key
chmod 600 /tmp/pg.key
exec docker-entrypoint.sh postgres -c ssl=on -c ssl_cert_file=/certs/db.crt -c ssl_key_file=/tmp/pg.key -c hba_file=/etc/pg_hba.conf