forked from cloudron-apps/gitea-app
Add ssl_mode and app_name to first time run params
This commit is contained in:
parent
ec8932c45d
commit
c6dca06ef9
1 changed files with 4 additions and 2 deletions
6
start.sh
6
start.sh
|
@ -36,6 +36,8 @@ if [[ ! -f /home/cloudron/gogs/custom/conf/app.ini ]]; then
|
||||||
--data "db_user=${MYSQL_USERNAME}" \
|
--data "db_user=${MYSQL_USERNAME}" \
|
||||||
--data-urlencode "db_passwd=${MYSQL_PASSWORD}" \
|
--data-urlencode "db_passwd=${MYSQL_PASSWORD}" \
|
||||||
--data "db_name=${MYSQL_DATABASE}" \
|
--data "db_name=${MYSQL_DATABASE}" \
|
||||||
|
--data "ssl_mode=disable" \
|
||||||
|
--data-urlencode "app_name=Gogs: Go Git Service" \
|
||||||
--data-urlencode "repo_root_path=/tmp" \
|
--data-urlencode "repo_root_path=/tmp" \
|
||||||
--data run_user=cloudron \
|
--data run_user=cloudron \
|
||||||
--data "domain=${fqdn}" \
|
--data "domain=${fqdn}" \
|
||||||
|
@ -45,8 +47,8 @@ if [[ ! -f /home/cloudron/gogs/custom/conf/app.ini ]]; then
|
||||||
--data smtp_user= \
|
--data smtp_user= \
|
||||||
--data smtp_pwd= \
|
--data smtp_pwd= \
|
||||||
--data admin_name=administrator \
|
--data admin_name=administrator \
|
||||||
--data admin_passwd=${admin_password} \
|
--data-urlencode admin_passwd=${admin_password} \
|
||||||
--data admin_confirm_passwd=${admin_password} \
|
--data-urlencode admin_confirm_passwd=${admin_password} \
|
||||||
--data-urlencode admin_email=${MAIL_SMTP_USERNAME}@${MAIL_DOMAIN}
|
--data-urlencode admin_email=${MAIL_SMTP_USERNAME}@${MAIL_DOMAIN}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue