Files
mtusi2026lab7/infra/postgres-entrypoint.sh
T
mayorovasonya 7353ab97a6
Application / application (pull_request) Canceled after 0s
Skeleton contracts / contracts (pull_request) Canceled after 0s
Лаб7: mTLS, Argon2id, OpenBao и исследование отзыва worker
Майорова Софья, БВТ2301, на 5. Трек1. HTTPS/TLS/ACL,18 API tests,13 pipeline groups,3 compromise runs,clean clone,persistence. Original tests/API contract preserved; residual CVE triage in REPORT/security.
2026-11-20 14:48:26 +03:00

7 lines
271 B
Bash

#!/bin/sh
set -eu
cp /tls/tls.key /tmp/postgres.key
chmod 600 /tmp/postgres.key
chown postgres:postgres /tmp/postgres.key
exec docker-entrypoint.sh postgres -c ssl=on -c ssl_cert_file=/tls/tls.crt -c ssl_key_file=/tmp/postgres.key -c hba_file=/etc/postgresql/pg_hba.conf