view postgres/ssdt-entrypoint.sh @ 131:70ec01165f8e

DEP-12: fix permissions
author Dave smith <smith@nwoca.org>
date Mon, 08 May 2017 14:43:56 -0400
parents 4b8eb7301ae0
children
line wrap: on
line source
#!/bin/bash
if [ ! "$POSTGRES_PASSWORD" ]; then
   export POSTGRES_PASSWORD=$(date +%s | sha256sum | base64 | head -c 32 ; echo)
fi

docker-entrypoint.sh "$@"