Implement Lab 7 service security
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
install -d -o postgres -g postgres -m 0700 /tmp/db-tls
|
||||
install -o postgres -g postgres -m 0600 /run/tls/db.key /tmp/db-tls/server.key
|
||||
exec docker-entrypoint.sh "$@"
|
||||
Reference in New Issue
Block a user