service-wallabag/entrypoint-wrapper.sh

18 lines
409 B
Bash
Raw Normal View History

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