mirror of
https://git.cloudron.io/cloudron/gitea-app.git
synced 2024-11-22 08:01:01 +00:00
Use latest sendmail configuration
This commit is contained in:
parent
a52b15596b
commit
bf95f923ef
2 changed files with 6 additions and 3 deletions
|
@ -29,9 +29,10 @@ LANDING_PAGE = explore
|
||||||
[mailer]
|
[mailer]
|
||||||
ENABLED = true
|
ENABLED = true
|
||||||
HOST = ##MAIL_SERVER:##MAIL_PORT
|
HOST = ##MAIL_SERVER:##MAIL_PORT
|
||||||
USER =
|
USER = ##MAIL_SMTP_USERNAME
|
||||||
PASSWD =
|
PASSWD = ##MAIL_SMTP_PASSWORD
|
||||||
FROM = ##MAIL_FROM
|
FROM = ##MAIL_FROM
|
||||||
|
SKIP_VERIFY = true
|
||||||
|
|
||||||
[admin]
|
[admin]
|
||||||
|
|
||||||
|
|
4
start.sh
4
start.sh
|
@ -59,7 +59,9 @@ sed -e "s/##DOMAIN/${APP_DOMAIN}/g" \
|
||||||
-e "s/##MYSQL_DATABASE/${MYSQL_DATABASE}/g" \
|
-e "s/##MYSQL_DATABASE/${MYSQL_DATABASE}/g" \
|
||||||
-e "s/##MAIL_SERVER/${MAIL_SMTP_SERVER}/g" \
|
-e "s/##MAIL_SERVER/${MAIL_SMTP_SERVER}/g" \
|
||||||
-e "s/##MAIL_PORT/${MAIL_SMTP_PORT}/g" \
|
-e "s/##MAIL_PORT/${MAIL_SMTP_PORT}/g" \
|
||||||
-e "s/##MAIL_FROM/${MAIL_SMTP_USERNAME}@${MAIL_DOMAIN}/g" \
|
-e "s/##MAIL_FROM/${MAIL_FROM}/g" \
|
||||||
|
-e "s/##MAIL_SMTP_USERNAME/${MAIL_SMTP_USERNAME}/g" \
|
||||||
|
-e "s/##MAIL_SMTP_PASSWORD/${MAIL_SMTP_PASSWORD}/g" \
|
||||||
-e "s/##SECRET_KEY/$(pwgen -1 -s)/g" \
|
-e "s/##SECRET_KEY/$(pwgen -1 -s)/g" \
|
||||||
/home/git/app.ini.template > "/run/gogs/app.ini"
|
/home/git/app.ini.template > "/run/gogs/app.ini"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue