wallabag/entrypoint.sh.tmpl

11 lines
436 B
Cheetah
Raw Permalink Normal View History

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