diff options
author | crupest <crupest@outlook.com> | 2024-11-11 01:12:29 +0800 |
---|---|---|
committer | Yuqian Yang <crupest@crupest.life> | 2024-12-22 17:45:13 +0800 |
commit | b834953fa61d816b9a955640ad12d244316ce904 (patch) | |
tree | 4197980a04943b42941d3fce7cb16d1f7ea400bd /templates/forgejo.app.ini.init.template | |
parent | 7e85627eb0d0126baf1e698ffdeae0f3c5fc693d (diff) | |
download | crupest-b834953fa61d816b9a955640ad12d244316ce904.tar.gz crupest-b834953fa61d816b9a955640ad12d244316ce904.tar.bz2 crupest-b834953fa61d816b9a955640ad12d244316ce904.zip |
HALF WORK: 2024.12.22
code.
Diffstat (limited to 'templates/forgejo.app.ini.init.template')
-rw-r--r-- | templates/forgejo.app.ini.init.template | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/templates/forgejo.app.ini.init.template b/templates/forgejo.app.ini.init.template new file mode 100644 index 0000000..7dc3800 --- /dev/null +++ b/templates/forgejo.app.ini.init.template @@ -0,0 +1,42 @@ +# Copy this file to ./data/forgejo/gitea/conf/app.ini +# TODO: Copy this to data directory automatically. + +APP_NAME = Forgejo, loved by crupest. +RUN_MODE = prod +WORK_PATH = /data/gitea + +[server] +HTTP_ADDR = 0.0.0.0 +HTTP_PORT = 3000 +ROOT_URL = https://git.${CRUPEST_DOMAIN} +DISABLE_SSH = true +LFS_START_SERVER = true + +[database] +DB_TYPE = sqlite3 + +[security] +INSTALL_LOCK = false +REVERSE_PROXY_LIMIT = 1 +REVERSE_PROXY_TRUSTED_PROXIES = * + +[service] +DISABLE_REGISTRATION = false +ALLOW_ONLY_INTERNAL_REGISTRATION = true + +[mailer] +ENABLED = true +PROTOCOL = smtp +SMTP_ADDR = mail.${CRUPEST_DOMAIN} +SMTP_PORT = 465 +USER = ${CRUPEST_FORGEJO_MAILER_USER} +PASSWD = ${CRUPEST_FORGEJO_MAILER_PASSWD} + +[log] +MODE = console,file + +[cron] +ENABLED = true + +[actions] +ENABLED = false |