This repository has been archived on 2025-03-03. You can view files and clone it, but cannot push or open issues or pull requests.
facturio/scripts/entrypoint.sh
2025-02-24 15:49:23 +01:00

14 lines
204 B
Bash
Executable file

#!/usr/bin/env bash
set -o nounset
set -o xtrace
set -o errexit
set -o pipefail
wait-for-it \
--quiet \
--service ${DATABASE_HOST}:${DATABASE_PORT:-5432} \
--timeout 60 \
-- echo "db is up"
exec "$@";