view postgres/ssdt-entrypoint.sh @ 540:7d108e6b44f2

add export for module
author belknapSSDT <zach.belknap@mcoecn.org>
date Wed, 22 May 2024 18:59: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 "$@"