10 lines
267 B
Bash
Executable File
10 lines
267 B
Bash
Executable File
#!/bin/sh
|
|
set -eu
|
|
|
|
. /opt/thoth/secret-policy.sh
|
|
|
|
bundle=${THT_SECRETS_FILE:-/run/secrets/thothii.secrets}
|
|
export POSTGRES_PASSWORD=$(read_bundle_secret "$bundle" THT_VECTOR_BOOTSTRAP_PASSWORD)
|
|
unset THT_SECRETS_FILE
|
|
exec /usr/local/bin/docker-entrypoint.sh postgres
|