view postgres/ssdt-entrypoint.sh @ 135:03e39b95d904

DEP-12: convert to compose verison 3.1 (again)
author smith@nwoca.org
date Mon, 15 May 2017 21:33:24 +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 "$@"