aboutsummaryrefslogtreecommitdiff
path: root/template/forgejo.app.ini.template
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2024-11-03 20:42:34 +0800
committercrupest <crupest@outlook.com>2024-11-03 20:43:08 +0800
commit58618b033be7518147dc160ed30532a03f492d4c (patch)
tree6719538d3e7c3483d89ad3c68ca319638ebd7ad3 /template/forgejo.app.ini.template
parentafbaad3f6932e8afe86e4e56a16d9d04a4316ad6 (diff)
downloadcrupest-58618b033be7518147dc160ed30532a03f492d4c.tar.gz
crupest-58618b033be7518147dc160ed30532a03f492d4c.tar.bz2
crupest-58618b033be7518147dc160ed30532a03f492d4c.zip
fix(forgejo): make generated config file as init.
Diffstat (limited to 'template/forgejo.app.ini.template')
-rw-r--r--template/forgejo.app.ini.template45
1 files changed, 0 insertions, 45 deletions
diff --git a/template/forgejo.app.ini.template b/template/forgejo.app.ini.template
deleted file mode 100644
index 3bd44c4..0000000
--- a/template/forgejo.app.ini.template
+++ /dev/null
@@ -1,45 +0,0 @@
-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
-LFS_JWT_SECRET_URI = file:/data/forgejo-secret/lfs_jwt_secret
-
-[database]
-DB_TYPE = sqlite3
-
-[security]
-INSTALL_LOCK = false
-SECRET_KEY_URI = file:/data/forgejo-secret/secret_key
-INTERNAL_TOKEN_URI = file:/data/forgejo-secret/internal_token
-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
-
-[oauth2]
-JWT_SECRET_URI = file:/data/forgejo-secret/oauth2_jwt_secret
-
-[actions]
-ENABLED = false