service-wallabag/entrypoint-wrapper.sh

18 lines
409 B
Bash
Raw Permalink Normal View History

2024-07-08 20:29:41 +00:00
#!/bin/sh
# vim: set ts=2 sw=2 et ft=bash:
2024-07-06 16:26:48 +00:00
2024-07-08 20:29:41 +00:00
eval "$(/usr/local/bin/parse-database-url.sh "${DATABASE_URL:-}" SYMFONY__ENV__DATABASE |sed -e 's/^/export /')"
2024-07-06 16:26:48 +00:00
2024-07-08 20:29:41 +00:00
# Rename variables
SYMFONY__ENV__DATABASE_PASSWORD="$SYMFONY__ENV__DATABASE_PASS"
export SYMFONY__ENV__DATABASE_PASSWORD
2024-07-06 16:26:48 +00:00
2024-07-08 20:29:41 +00:00
env
2024-07-06 16:26:48 +00:00
2024-07-08 20:29:41 +00:00
echo "=== entrypoint"
cat /entrypoint.sh
echo "changing entrypoint..."
echo /entrypoint.sh # "$@"
exec /entrypoint.sh "$@"