view postgres/ssdt-entrypoint.sh @ 189:1a8087653f2a

DEP-12: add docker-compse path if compose not found
author smith@nwoca.org
date Wed, 20 Sep 2017 17:35:04 +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 "$@"