view postgres/ssdt-entrypoint.sh @ 234:2ae65177f74e

DEP-14: copy pilot scripts to prod
author smith@nwoca.org
date Wed, 10 Jan 2018 00:44:05 +0000
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 "$@"