view postgres/ssdt-entrypoint.sh @ 580:b6f03eb10850

add option to run applications as support instances
author Marc Davis <marc.davis@mcoecn.org>
date Thu, 05 Sep 2024 14:08:27 -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 "$@"