view postgres/ssdt-entrypoint.sh @ 329:5014e2b0e5d3

adding script per Ryan at MCOECN
author aldrich@ssdt-ohio.org
date Mon, 13 Jan 2020 12:57:03 +0000
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 "$@"