fix: hide sensitive information
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
34e8b78c43
commit
39720a5727
1 changed files with 2 additions and 7 deletions
|
@ -1,17 +1,12 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# vim: set ts=2 sw=2 et ft=bash:
|
# 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 /')"
|
eval "$(/usr/local/bin/parse-database-url.sh "${DATABASE_URL:-}" SYMFONY__ENV__DATABASE |sed -e 's/^/export /')"
|
||||||
|
|
||||||
# Rename variables
|
# Rename variables
|
||||||
SYMFONY__ENV__DATABASE_PASSWORD="$SYMFONY__ENV__DATABASE_PASS"
|
SYMFONY__ENV__DATABASE_PASSWORD="$SYMFONY__ENV__DATABASE_PASS"
|
||||||
export SYMFONY__ENV__DATABASE_PASSWORD
|
export SYMFONY__ENV__DATABASE_PASSWORD
|
||||||
|
|
||||||
env
|
echo "== Changing entrypoint..."
|
||||||
|
|
||||||
echo "=== entrypoint"
|
|
||||||
cat /entrypoint.sh
|
|
||||||
|
|
||||||
echo "changing entrypoint..."
|
|
||||||
echo /entrypoint.sh # "$@"
|
|
||||||
exec /entrypoint.sh "$@"
|
exec /entrypoint.sh "$@"
|
||||||
|
|
Loading…
Reference in a new issue