2024-01-21 02:02:16 +00:00
|
|
|
#!/bin/sh
|
2022-11-12 11:20:07 +00:00
|
|
|
|
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)
|
2022-11-12 11:20:07 +00:00
|
|
|
|
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
|
2022-11-12 11:20:07 +00:00
|
|
|
|
|
|
|
# https://github.com/wallabag/docker/blob/master/root/entrypoint.sh
|
|
|
|
sh -c "/entrypoint.sh migrate"
|
|
|
|
sh -c "/entrypoint.sh wallabag"
|