view postgres/ssdt-entrypoint.sh @ 155:570e192c21b4

DEP-12: fix permissions
author Dave smith <smith@nwoca.org>
date Fri, 21 Jul 2017 11:01:26 -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 "$@"