diff --git a/ghost/Dockerfile b/ghost/Dockerfile index b8393b9..fca9fc8 100644 --- a/ghost/Dockerfile +++ b/ghost/Dockerfile @@ -15,6 +15,8 @@ ENV GHOST_NODE_VERSION_CHECK=false \ SMTP_PASS=12345 \ SMTP_USER=user \ SMTP_PORT=666 \ + SMTP_SENDER_MAIL=user@domain.tld \ + SMTP_SENDER_NAME=Ghost \ ENABLE_ISSO=False \ ISSO_HOST=isso.domain.tld \ ISSO_AVATAR=false \ diff --git a/ghost/run.sh b/ghost/run.sh index ab02ddd..120485e 100644 --- a/ghost/run.sh +++ b/ghost/run.sh @@ -15,7 +15,9 @@ if [ "$CUSTOM_SMTP" == "True" ]; then sed -i -e "s//$SMTP_HOST/g" \ -e "s//$SMTP_PORT/g" \ -e "s//$SMTP_USER/g" \ - -e "s//$SMTP_PASS/g" /ghost/config.js + -e "s//$SMTP_PASS/g" \ + -e "s//$SMTP_SENDER_MAIL/g" \ + -e "s//$SMTP_SENDER_NAME/g" /ghost/config.js fi if [ ! -d /ghost/content/themes/casper ]; then diff --git a/ghost/smtp.conf b/ghost/smtp.conf index 08f59dc..0f70c84 100644 --- a/ghost/smtp.conf +++ b/ghost/smtp.conf @@ -1,6 +1,7 @@ mail: { transport: 'SMTP', + from: '"" <>', options: { host: '', port: '',