Add ssl_mode and app_name to first time run params

This commit is contained in:
Girish Ramakrishnan 2015-08-18 12:55:38 -07:00
parent ec8932c45d
commit c6dca06ef9

View file

@ -36,6 +36,8 @@ if [[ ! -f /home/cloudron/gogs/custom/conf/app.ini ]]; then
--data "db_user=${MYSQL_USERNAME}" \
--data-urlencode "db_passwd=${MYSQL_PASSWORD}" \
--data "db_name=${MYSQL_DATABASE}" \
--data "ssl_mode=disable" \
--data-urlencode "app_name=Gogs: Go Git Service" \
--data-urlencode "repo_root_path=/tmp" \
--data run_user=cloudron \
--data "domain=${fqdn}" \
@ -45,8 +47,8 @@ if [[ ! -f /home/cloudron/gogs/custom/conf/app.ini ]]; then
--data smtp_user= \
--data smtp_pwd= \
--data admin_name=administrator \
--data admin_passwd=${admin_password} \
--data admin_confirm_passwd=${admin_password} \
--data-urlencode admin_passwd=${admin_password} \
--data-urlencode admin_confirm_passwd=${admin_password} \
--data-urlencode admin_email=${MAIL_SMTP_USERNAME}@${MAIL_DOMAIN}
fi