wallabag/entrypoint.sh.tmpl
f 290333d38b
Some checks failed
continuous-integration/drone/pr Build is failing
fix: backwards compatibility
2025-04-23 16:07:42 -03:00

11 lines
466 B
Bash

#!/bin/sh
export SYMFONY__ENV__DATABASE_PASSWORD=$(cat $SYMFONY__ENV__DATABASE_PASSWORD_FILE)
export SYMFONY__ENV__SECRET=$(cat $SYMFONY__ENV__SECRET_FILE)
export SYMFONY__ENV__MAILER_DSN=smtp://${SYMFONY__ENV__MAILER_USER}:$(cat ${SYMFONY__ENV__MAILER_PASSWORD_FILE})@${SYMFONY__ENV__MAILER_HOST}:${SYMFONY__ENV__MAILER_PORT:-465}
# https://github.com/wallabag/docker/blob/master/root/entrypoint.sh
sh -c "/entrypoint.sh migrate"
sh -c "/entrypoint.sh wallabag"