comparison postgres/ssdt-entrypoint.sh @ 116:4b8eb7301ae0

DEP-12: update to postgres 9.4.11. add script to generate unique postgres password
author smith@nwoca.org
date Thu, 27 Apr 2017 17:51:12 -0400
parents
children
comparison
equal deleted inserted replaced
115:151bd88f6c56 116:4b8eb7301ae0
1 #!/bin/bash
2 if [ ! "$POSTGRES_PASSWORD" ]; then
3 export POSTGRES_PASSWORD=$(date +%s | sha256sum | base64 | head -c 32 ; echo)
4 fi
5
6 docker-entrypoint.sh "$@"