Mercurial > public > ssdt-docker
view postgres/ssdt-entrypoint.sh @ 266:b72855a930f1
simplify method of getting project name
author | smith@nwoca.org |
---|---|
date | Mon, 12 Nov 2018 21:12:31 +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 "$@"