|
@@ -12,6 +12,10 @@ RUN_MODE = dev
|
|
|
ROOT = /srv/gogs/repo
|
|
ROOT = /srv/gogs/repo
|
|
|
SCRIPT_TYPE = bash
|
|
SCRIPT_TYPE = bash
|
|
|
|
|
|
|
|
|
|
+[ui]
|
|
|
|
|
+; Number of issues that are showed in one page
|
|
|
|
|
+ISSUE_PAGING_NUM = 10
|
|
|
|
|
+
|
|
|
[server]
|
|
[server]
|
|
|
PROTOCOL = http
|
|
PROTOCOL = http
|
|
|
DOMAIN = localhost
|
|
DOMAIN = localhost
|
|
@@ -87,8 +91,8 @@ ENABLE_REVERSE_PROXY_AUTO_REGISTRATION = false
|
|
|
DISABLE_MINIMUM_KEY_SIZE_CHECK = false
|
|
DISABLE_MINIMUM_KEY_SIZE_CHECK = false
|
|
|
|
|
|
|
|
[webhook]
|
|
[webhook]
|
|
|
-; Cron task interval in minutes
|
|
|
|
|
-TASK_INTERVAL = 1
|
|
|
|
|
|
|
+; Hook task queue length
|
|
|
|
|
+QUEUE_LENGTH = 1000
|
|
|
; Deliver timeout in seconds
|
|
; Deliver timeout in seconds
|
|
|
DELIVER_TIMEOUT = 5
|
|
DELIVER_TIMEOUT = 5
|
|
|
; Allow insecure certification
|
|
; Allow insecure certification
|
|
@@ -104,14 +108,18 @@ SUBJECT = %(APP_NAME)s
|
|
|
; Gmail: smtp.gmail.com:587
|
|
; Gmail: smtp.gmail.com:587
|
|
|
; QQ: smtp.qq.com:25
|
|
; QQ: smtp.qq.com:25
|
|
|
; Note, if the port ends with "465", SMTPS will be used. Using STARTTLS on port 587 is recommended per RFC 6409. If the server supports STARTTLS it will always be used.
|
|
; Note, if the port ends with "465", SMTPS will be used. Using STARTTLS on port 587 is recommended per RFC 6409. If the server supports STARTTLS it will always be used.
|
|
|
-HOST =
|
|
|
|
|
|
|
+HOST =
|
|
|
|
|
+; Disable HELO operation when hostname are different.
|
|
|
|
|
+DISABLE_HELO =
|
|
|
|
|
+; Custom hostname for HELO operation, default is from system.
|
|
|
|
|
+HELO_HOSTNAME =
|
|
|
; Do not verify the certificate of the server. Only use this for self-signed certificates
|
|
; Do not verify the certificate of the server. Only use this for self-signed certificates
|
|
|
SKIP_VERIFY =
|
|
SKIP_VERIFY =
|
|
|
; Use client certificate
|
|
; Use client certificate
|
|
|
USE_CERTIFICATE = false
|
|
USE_CERTIFICATE = false
|
|
|
CERT_FILE = custom/mailer/cert.pem
|
|
CERT_FILE = custom/mailer/cert.pem
|
|
|
KEY_FILE = custom/mailer/key.pem
|
|
KEY_FILE = custom/mailer/key.pem
|
|
|
-; Mail from address, RFC 5322. This can be just an email address, or the "Name" <email@example.com> format
|
|
|
|
|
|
|
+; Mail from address, RFC 5322. This can be just an email address, or the `"Name" <email@example.com>` format
|
|
|
FROM =
|
|
FROM =
|
|
|
; Mailer user name and password
|
|
; Mailer user name and password
|
|
|
USER =
|
|
USER =
|
|
@@ -288,8 +296,8 @@ INTERVAL = 24
|
|
|
ARGS =
|
|
ARGS =
|
|
|
|
|
|
|
|
[i18n]
|
|
[i18n]
|
|
|
-LANGS = en-US,zh-CN,zh-HK,de-DE,fr-FR,nl-NL,lv-LV,ru-RU,ja-JP,es-ES,pt-BR,pl-PL
|
|
|
|
|
-NAMES = English,简体中文,繁體中文,Deutsch,Français,Nederlands,Latviešu,Русский,日本语,Español,Português,Polski
|
|
|
|
|
|
|
+LANGS = en-US,zh-CN,zh-HK,de-DE,fr-FR,nl-NL,lv-LV,ru-RU,ja-JP,es-ES,pt-BR,pl-PL,bg-BG,it-IT
|
|
|
|
|
+NAMES = English,简体中文,繁體中文,Deutsch,Français,Nederlands,Latviešu,Русский,日本语,Español,Português,Polski,български,Italiano
|
|
|
|
|
|
|
|
[other]
|
|
[other]
|
|
|
SHOW_FOOTER_BRANDING = false
|
|
SHOW_FOOTER_BRANDING = false
|