lab7
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
install -o postgres -g postgres -m 600 /pki/service.key /run/pg-tls/server.key
|
||||
install -m 644 /pki/service.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=/etc/lab-pg-hba.conf -c password_encryption=scram-sha-256 \
|
||||
-c shared_buffers=64MB -c max_connections=60
|
||||
Reference in New Issue
Block a user