diff --git a/entrypoint-wrapper.sh b/entrypoint-wrapper.sh index fc85454..604e9e1 100755 --- a/entrypoint-wrapper.sh +++ b/entrypoint-wrapper.sh @@ -1,17 +1,12 @@ #!/bin/sh # vim: set ts=2 sw=2 et ft=bash: +echo "== Loading database parameters from DATABASE_URL..." eval "$(/usr/local/bin/parse-database-url.sh "${DATABASE_URL:-}" SYMFONY__ENV__DATABASE |sed -e 's/^/export /')" # Rename variables SYMFONY__ENV__DATABASE_PASSWORD="$SYMFONY__ENV__DATABASE_PASS" export SYMFONY__ENV__DATABASE_PASSWORD -env - -echo "=== entrypoint" -cat /entrypoint.sh - -echo "changing entrypoint..." -echo /entrypoint.sh # "$@" +echo "== Changing entrypoint..." exec /entrypoint.sh "$@"