wallabag/entrypoint.sh.tmpl

11 lines
436 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}:465
# https://github.com/wallabag/docker/blob/master/root/entrypoint.sh
sh -c "/entrypoint.sh migrate"
sh -c "/entrypoint.sh wallabag"