view postgres/ssdt-entrypoint.sh @ 312:6bd1eb71db59

fix adding for timezone
author aldrich@nwoca.org
date Thu, 27 Jun 2019 19:10:31 +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 "$@"