view postgres/ssdt-entrypoint.sh @ 423:8f797bb7ccb3

INV-470: Added script to anonymize inventory db.
author Jason Klinger <klinger@nwoca.org>
date Tue, 22 Aug 2023 21:05:52 +0100
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 "$@"