view postgres/ssdt-entrypoint.sh @ 393:56498d910235

INV-197 refine backup-container-docker.sh script
author Matt Calmes <calmes@ssdt-ohio.org>
date Mon, 25 Oct 2021 13:41:56 -0400
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 "$@"