view postgres/ssdt-entrypoint.sh @ 188:2f5f41d237e7

DEP-12: fix backup script.
author smith@nwoca.org
date Wed, 20 Sep 2017 17:01:09 +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 "$@"