Files
mtusi2026lab7/infra/postgres-entrypoint.sh
2026-11-29 21:59:16 +03:00

7 lines
302 B
Bash

#!/bin/sh
set -eu
install -m 600 /identity/tls.key /tmp/postgres.key
exec docker-entrypoint.sh postgres -c ssl=on \
-c ssl_cert_file=/identity/tls.crt -c ssl_key_file=/tmp/postgres.key \
-c ident_file=/etc/pg_ident.conf -c hba_file=/etc/pg_hba.conf -c shared_buffers=32MB -c max_connections=48