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

15 lines
225 B
Bash
Raw Normal View History

2025-02-24 15:48:52 +01:00
#!/usr/bin/env bash
set -o nounset
set -o xtrace
set -o errexit
set -o pipefail
wait-for-it \
--quiet \
2025-02-24 23:43:55 +01:00
--service ${DATABASE_HOST:-postgres}:${DATABASE_PORT:-5432} \
2025-02-24 15:48:52 +01:00
--timeout 60 \
2025-02-24 23:43:55 +01:00
-- echo "Database is running"
2025-02-24 15:48:52 +01:00
exec "$@";