Mercurial > public > ssdt-docker
diff postgres/ssdt-entrypoint.sh @ 163:daf91a3bbee5 production v1.2.0
flow: Merged <release> 'v1.2.0' to <master> ('production').
author | smith@nwoca.org |
---|---|
date | Tue, 15 Aug 2017 21:59:23 +0100 |
parents | 4b8eb7301ae0 |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/postgres/ssdt-entrypoint.sh Tue Aug 15 21:59:23 2017 +0100 @@ -0,0 +1,6 @@ +#!/bin/bash +if [ ! "$POSTGRES_PASSWORD" ]; then + export POSTGRES_PASSWORD=$(date +%s | sha256sum | base64 | head -c 32 ; echo) +fi + +docker-entrypoint.sh "$@" \ No newline at end of file