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 23:43:55 +01:00

14 lines
225 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:-postgres}:${DATABASE_PORT:-5432} \
--timeout 60 \
-- echo "Database is running"
exec "$@";