view postgres/ssdt-entrypoint.sh @ 148:d20c6ff9a821

DEP-12: upgrade to compose format 3.3
author smith@nwoca.org
date Mon, 10 Jul 2017 18:24:40 +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 "$@"