view postgres/ssdt-entrypoint.sh @ 200:d51ffd82515a

Update for cron
author Christopher Springer <springer@nwoca.org>
date Tue, 26 Sep 2017 14:40:52 +0100
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 "$@"