You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

app.ini 18KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557
  1. ; App name that shows on every page title
  2. APP_NAME = Gitea: Git with a cup of tea
  3. ; Change it if you run locally
  4. RUN_USER = git
  5. ; Either "dev", "prod" or "test", default is "dev"
  6. RUN_MODE = dev
  7. [repository]
  8. ROOT =
  9. SCRIPT_TYPE = bash
  10. ; Default ANSI charset
  11. ANSI_CHARSET =
  12. ; Force every new repository to be private
  13. FORCE_PRIVATE = false
  14. ; Global maximum creation limit of repository per user, -1 means no limit
  15. MAX_CREATION_LIMIT = -1
  16. ; Mirror sync queue length, increase if mirror syncing starts hanging
  17. MIRROR_QUEUE_LENGTH = 1000
  18. ; Patch test queue length, increase if pull request patch testing starts hanging
  19. PULL_REQUEST_QUEUE_LENGTH = 1000
  20. ; Preferred Licenses to place at the top of the List
  21. ; Name must match file name in conf/license or custom/conf/license
  22. PREFERRED_LICENSES = Apache License 2.0,MIT License
  23. ; Disable ability to interact with repositories by HTTP protocol
  24. DISABLE_HTTP_GIT = false
  25. ; Force ssh:// clone url instead of scp-style uri when default SSH port is used
  26. USE_COMPAT_SSH_URI = false
  27. [repository.editor]
  28. ; List of file extensions that should have line wraps in the CodeMirror editor
  29. ; Separate extensions with a comma. To line wrap files w/o extension, just put a comma
  30. LINE_WRAP_EXTENSIONS = .txt,.md,.markdown,.mdown,.mkd,
  31. ; Valid file modes that have a preview API associated with them, such as api/v1/markdown
  32. ; Separate values by commas. Preview tab in edit mode won't show if the file extension doesn't match
  33. PREVIEWABLE_FILE_MODES = markdown
  34. [repository.local]
  35. ; Path for uploads. Defaults to `tmp/local-repo`
  36. LOCAL_COPY_PATH = tmp/local-repo
  37. [repository.upload]
  38. ; Whether repository file uploads are enabled. Defaults to `true`
  39. ENABLED = true
  40. ; Path for uploads. Defaults to `data/tmp/uploads` (tmp gets deleted on gitea restart)
  41. TEMP_PATH = data/tmp/uploads
  42. ; One or more allowed types, e.g. image/jpeg|image/png. Nothing means any file type
  43. ALLOWED_TYPES =
  44. ; Max size of each file in MB. Defaults to 3MB
  45. FILE_MAX_SIZE = 3
  46. ; Max number of files per upload. Defaults to 5
  47. MAX_FILES = 5
  48. [ui]
  49. ; Number of repositories that are showed in one explore page
  50. EXPLORE_PAGING_NUM = 20
  51. ; Number of issues that are showed in one page
  52. ISSUE_PAGING_NUM = 10
  53. ; Number of maximum commits showed in one activity feed
  54. FEED_MAX_COMMIT_NUM = 5
  55. ; Value of `theme-color` meta tag, used by Android >= 5.0
  56. ; An invalid color like "none" or "disable" will have the default style
  57. ; More info: https://developers.google.com/web/updates/2014/11/Support-for-theme-color-in-Chrome-39-for-Android
  58. THEME_COLOR_META_TAG = `#6cc644`
  59. ; Max size of files to be displayed (defaults is 8MiB)
  60. MAX_DISPLAY_FILE_SIZE = 8388608
  61. ; Whether show the user email in the Explore Users page
  62. SHOW_USER_EMAIL = true
  63. [ui.admin]
  64. ; Number of users that are showed in one page
  65. USER_PAGING_NUM = 50
  66. ; Number of repos that are showed in one page
  67. REPO_PAGING_NUM = 50
  68. ; Number of notices that are showed in one page
  69. NOTICE_PAGING_NUM = 25
  70. ; Number of organization that are showed in one page
  71. ORG_PAGING_NUM = 50
  72. [ui.user]
  73. ; Number of repos that are showed in one page
  74. REPO_PAGING_NUM = 15
  75. [ui.meta]
  76. AUTHOR = Gitea - Git with a cup of tea
  77. DESCRIPTION = Gitea (Git with a cup of tea) is a painless self-hosted Git service written in Go
  78. KEYWORDS = go,git,self-hosted,gitea
  79. [markdown]
  80. ; Enable hard line break extension
  81. ENABLE_HARD_LINE_BREAK = false
  82. ; List of custom URL-Schemes that are allowed as links when rendering Markdown
  83. ; for example git,magnet
  84. CUSTOM_URL_SCHEMES =
  85. ; List of file extensions that should be rendered/edited as Markdown
  86. ; Separate extensions with a comma. To render files w/o extension as markdown, just put a comma
  87. FILE_EXTENSIONS = .md,.markdown,.mdown,.mkd
  88. [server]
  89. ; Listen protocol. One of 'http', 'https', 'unix' or 'fcgi'.
  90. PROTOCOL = http
  91. DOMAIN = localhost
  92. ROOT_URL = %(PROTOCOL)s://%(DOMAIN)s:%(HTTP_PORT)s/
  93. ; Listen address. Either a IPv4/IPv6 address or the path to a unix socket.
  94. HTTP_ADDR = 0.0.0.0
  95. HTTP_PORT = 3000
  96. ; Permission for unix socket
  97. UNIX_SOCKET_PERMISSION = 666
  98. ; Local (DMZ) URL for Gitea workers (such as SSH update) accessing web service.
  99. ; In most cases you do not need to change the default value.
  100. ; Alter it only if your SSH server node is not the same as HTTP node.
  101. LOCAL_ROOT_URL = %(PROTOCOL)s://%(HTTP_ADDR)s:%(HTTP_PORT)s/
  102. ; Disable SSH feature when not available
  103. DISABLE_SSH = false
  104. ; Whether use builtin SSH server or not.
  105. START_SSH_SERVER = false
  106. ; Username to use for builtin SSH server. If blank, then it is the value of RUN_USER.
  107. BUILTIN_SSH_SERVER_USER =
  108. ; Domain name to be exposed in clone URL
  109. SSH_DOMAIN = %(DOMAIN)s
  110. ; Network interface builtin SSH server listens on
  111. SSH_LISTEN_HOST =
  112. ; Port number to be exposed in clone URL
  113. SSH_PORT = 22
  114. ; Port number builtin SSH server listens on
  115. SSH_LISTEN_PORT = %(SSH_PORT)s
  116. ; Root path of SSH directory, default is '~/.ssh', but you have to use '/home/git/.ssh'.
  117. SSH_ROOT_PATH =
  118. ; Directory to create temporary files when test public key using ssh-keygen,
  119. ; default is system temporary directory.
  120. SSH_KEY_TEST_PATH =
  121. ; Path to ssh-keygen, default is 'ssh-keygen' and let shell find out which one to call.
  122. SSH_KEYGEN_PATH = ssh-keygen
  123. ; Enable SSH Authorized Key Backup when rewriting all keys, default is true
  124. SSH_BACKUP_AUTHORIZED_KEYS = true
  125. ; Enable exposure of SSH clone URL to anonymous visitors, default is false
  126. SSH_EXPOSE_ANONYMOUS = false
  127. ; Indicate whether to check minimum key size with corresponding type
  128. MINIMUM_KEY_SIZE_CHECK = false
  129. ; Disable CDN even in "prod" mode
  130. OFFLINE_MODE = false
  131. DISABLE_ROUTER_LOG = false
  132. ; Generate steps:
  133. ; $ ./gitea cert -ca=true -duration=8760h0m0s -host=myhost.example.com
  134. ;
  135. ; Or from a .pfx file exported from the Windows certificate store (do
  136. ; not forget to export the private key):
  137. ; $ openssl pkcs12 -in cert.pfx -out cert.pem -nokeys
  138. ; $ openssl pkcs12 -in cert.pfx -out key.pem -nocerts -nodes
  139. CERT_FILE = custom/https/cert.pem
  140. KEY_FILE = custom/https/key.pem
  141. ; Upper level of template and static file path
  142. ; default is the path where Gitea is executed
  143. STATIC_ROOT_PATH =
  144. ; Default path for App data
  145. APP_DATA_PATH = data
  146. ; Application level GZIP support
  147. ENABLE_GZIP = false
  148. ; Landing page for non-logged users, can be "home" or "explore"
  149. LANDING_PAGE = home
  150. ; Enables git-lfs support. true or false, default is false.
  151. LFS_START_SERVER = false
  152. ; Where your lfs files put on, default is data/lfs.
  153. LFS_CONTENT_PATH = data/lfs
  154. ; LFS authentication secret, changed this to yourself.
  155. LFS_JWT_SECRET =
  156. ; Define allowed algorithms and their minimum key length (use -1 to disable a type)
  157. [ssh.minimum_key_sizes]
  158. ED25519 = 256
  159. ECDSA = 256
  160. RSA = 2048
  161. DSA = 1024
  162. [database]
  163. ; Either "mysql", "postgres", "mssql" or "sqlite3", it's your choice
  164. DB_TYPE = mysql
  165. HOST = 127.0.0.1:3306
  166. NAME = gitea
  167. USER = root
  168. PASSWD =
  169. ; For "postgres" only, either "disable", "require" or "verify-full"
  170. SSL_MODE = disable
  171. ; For "sqlite3" and "tidb", use absolute path when you start as service
  172. PATH = data/gitea.db
  173. ; For "sqlite3" only. Query timeout
  174. SQLITE_TIMEOUT = 500
  175. ; For iterate buffer, default is 50
  176. ITERATE_BUFFER_SIZE = 50
  177. [indexer]
  178. ISSUE_INDEXER_PATH = indexers/issues.bleve
  179. UPDATE_BUFFER_LEN = 20
  180. [admin]
  181. ; Disable regular (non-admin) users to create organizations
  182. DISABLE_REGULAR_ORG_CREATION = false
  183. [security]
  184. ; Whether the installer is disabled
  185. INSTALL_LOCK = false
  186. ; !!CHANGE THIS TO KEEP YOUR USER DATA SAFE!!
  187. SECRET_KEY = !#@FDEWREWR&*(
  188. ; Auto-login remember days
  189. LOGIN_REMEMBER_DAYS = 7
  190. COOKIE_USERNAME = gitea_awesome
  191. COOKIE_REMEMBER_NAME = gitea_incredible
  192. ; Reverse proxy authentication header name of user name
  193. REVERSE_PROXY_AUTHENTICATION_USER = X-WEBAUTH-USER
  194. ; Sets the minimum password length for new Users
  195. MIN_PASSWORD_LENGTH = 6
  196. ; True when users are allowed to import local server paths
  197. IMPORT_LOCAL_PATHS = false
  198. ; Prevent all users (including admin) from creating custom git hooks
  199. DISABLE_GIT_HOOKS = false
  200. [openid]
  201. ;
  202. ; OpenID is an open standard and decentralized authentication protocol.
  203. ; Your identity is the address of a webpage you provide, which describes
  204. ; how to prove you are in control of that page.
  205. ;
  206. ; For more info: https://en.wikipedia.org/wiki/OpenID
  207. ;
  208. ; Current implementation supports OpenID-2.0
  209. ;
  210. ; Tested to work providers at the time of writing:
  211. ; - Any GNUSocial node (your.hostname.tld/username)
  212. ; - Any SimpleID provider (http://simpleid.koinic.net)
  213. ; - http://openid.org.cn/
  214. ; - openid.stackexchange.com
  215. ; - login.launchpad.net
  216. ; - <username>.livejournal.com
  217. ;
  218. ; Whether to allow signin in via OpenID
  219. ENABLE_OPENID_SIGNIN = true
  220. ; Whether to allow registering via OpenID
  221. ; Do not include to rely on DISABLE_REGISTRATION setting
  222. ;ENABLE_OPENID_SIGNUP = true
  223. ; Allowed URI patterns (POSIX regexp).
  224. ; Space separated.
  225. ; Only these would be allowed if non-blank.
  226. ; Example value: trusted.domain.org trusted.domain.net
  227. WHITELISTED_URIS =
  228. ; Forbidden URI patterns (POSIX regexp).
  229. ; Space separated.
  230. ; Only used if WHITELISTED_URIS is blank.
  231. ; Example value: loadaverage.org/badguy stackexchange.com/.*spammer
  232. BLACKLISTED_URIS =
  233. [service]
  234. ; Time limit to confirm account/email registration
  235. ACTIVE_CODE_LIVE_MINUTES = 180
  236. ; Time limit to confirm forgot password reset process
  237. RESET_PASSWD_CODE_LIVE_MINUTES = 180
  238. ; User need to confirm e-mail for registration
  239. REGISTER_EMAIL_CONFIRM = false
  240. ; Does not allow register and admin create account only
  241. DISABLE_REGISTRATION = false
  242. ; User must sign in to view anything.
  243. REQUIRE_SIGNIN_VIEW = false
  244. ; Mail notification
  245. ENABLE_NOTIFY_MAIL = false
  246. ; More detail: https://github.com/go-gitea/gitea/issues/165
  247. ENABLE_REVERSE_PROXY_AUTHENTICATION = false
  248. ENABLE_REVERSE_PROXY_AUTO_REGISTRATION = false
  249. ; Enable captcha validation for registration
  250. ENABLE_CAPTCHA = true
  251. ; Default value for KeepEmailPrivate
  252. ; New user will get the value of this setting copied into their profile
  253. DEFAULT_KEEP_EMAIL_PRIVATE = false
  254. ; Default value for AllowCreateOrganization
  255. ; New user will have rights set to create organizations depending on this setting
  256. DEFAULT_ALLOW_CREATE_ORGANIZATION = true
  257. ; Default value for EnableTimetracking
  258. ; Repositories will use timetracking by default depending on this setting
  259. DEFAULT_ENABLE_TIMETRACKING = true
  260. ; Default value for AllowOnlyContributorsToTrackTime
  261. ; Only users with write permissions could track time if this is true
  262. DEFAULT_ALLOW_ONLY_CONTRIBUTORS_TO_TRACK_TIME = true
  263. ; Default value for the domain part of the user's email address in the git log
  264. ; if he has set KeepEmailPrivate true. The user's email replaced with a
  265. ; concatenation of the user name in lower case, "@" and NO_REPLY_ADDRESS.
  266. NO_REPLY_ADDRESS = noreply.example.org
  267. [webhook]
  268. ; Hook task queue length, increase if webhook shooting starts hanging
  269. QUEUE_LENGTH = 1000
  270. ; Deliver timeout in seconds
  271. DELIVER_TIMEOUT = 5
  272. ; Allow insecure certification
  273. SKIP_TLS_VERIFY = false
  274. ; Number of history information in each page
  275. PAGING_NUM = 10
  276. [mailer]
  277. ENABLED = false
  278. ; Buffer length of channel, keep it as it is if you don't know what it is.
  279. SEND_BUFFER_LEN = 100
  280. ; Name displayed in mail title
  281. SUBJECT = %(APP_NAME)s
  282. ; Mail server
  283. ; Gmail: smtp.gmail.com:587
  284. ; QQ: smtp.qq.com:465
  285. ; 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.
  286. HOST =
  287. ; Disable HELO operation when hostname are different.
  288. DISABLE_HELO =
  289. ; Custom hostname for HELO operation, default is from system.
  290. HELO_HOSTNAME =
  291. ; Do not verify the certificate of the server. Only use this for self-signed certificates
  292. SKIP_VERIFY =
  293. ; Use client certificate
  294. USE_CERTIFICATE = false
  295. CERT_FILE = custom/mailer/cert.pem
  296. KEY_FILE = custom/mailer/key.pem
  297. ; Mail from address, RFC 5322. This can be just an email address, or the `"Name" <email@example.com>` format
  298. FROM =
  299. ; Mailer user name and password
  300. USER =
  301. PASSWD =
  302. ; Send mails as plain text
  303. SEND_AS_PLAIN_TEXT = false
  304. ; Enable sendmail (override SMTP)
  305. USE_SENDMAIL = false
  306. ; Specify an alternative sendmail binary
  307. SENDMAIL_PATH = sendmail
  308. [cache]
  309. ; Either "memory", "redis", or "memcache", default is "memory"
  310. ADAPTER = memory
  311. ; For "memory" only, GC interval in seconds, default is 60
  312. INTERVAL = 60
  313. ; For "redis" and "memcache", connection host address
  314. ; redis: network=tcp,addr=:6379,password=macaron,db=0,pool_size=100,idle_timeout=180
  315. ; memcache: `127.0.0.1:11211`
  316. HOST =
  317. [session]
  318. ; Either "memory", "file", or "redis", default is "memory"
  319. PROVIDER = memory
  320. ; Provider config options
  321. ; memory: not have any config yet
  322. ; file: session file path, e.g. `data/sessions`
  323. ; redis: network=tcp,addr=:6379,password=macaron,db=0,pool_size=100,idle_timeout=180
  324. ; mysql: go-sql-driver/mysql dsn config string, e.g. `root:password@/session_table`
  325. PROVIDER_CONFIG = data/sessions
  326. ; Session cookie name
  327. COOKIE_NAME = i_like_gitea
  328. ; If you use session in https only, default is false
  329. COOKIE_SECURE = false
  330. ; Enable set cookie, default is true
  331. ENABLE_SET_COOKIE = true
  332. ; Session GC time interval in seconds, default is 86400 (1 day)
  333. GC_INTERVAL_TIME = 86400
  334. ; Session life time in seconds, default is 86400 (1 day)
  335. SESSION_LIFE_TIME = 86400
  336. [picture]
  337. AVATAR_UPLOAD_PATH = data/avatars
  338. ; Chinese users can choose "duoshuo"
  339. ; or a custom avatar source, like: http://cn.gravatar.com/avatar/
  340. GRAVATAR_SOURCE = gravatar
  341. ; This value will be forced to be true in offline mode.
  342. DISABLE_GRAVATAR = false
  343. ; Federated avatar lookup uses DNS to discover avatar associated
  344. ; with emails, see https://www.libravatar.org
  345. ; This value will be forced to be false in offline mode or Gravatar is disabled.
  346. ENABLE_FEDERATED_AVATAR = false
  347. [attachment]
  348. ; Whether attachments are enabled. Defaults to `true`
  349. ENABLE = true
  350. ; Path for attachments. Defaults to `data/attachments`
  351. PATH = data/attachments
  352. ; One or more allowed types, e.g. image/jpeg|image/png
  353. ALLOWED_TYPES = image/jpeg|image/png|application/zip|application/gzip
  354. ; Max size of each file. Defaults to 32MB
  355. MAX_SIZE = 4
  356. ; Max number of files per upload. Defaults to 10
  357. MAX_FILES = 5
  358. [time]
  359. ; Specifies the format for fully outputted dates. Defaults to RFC1123
  360. ; Special supported values are ANSIC, UnixDate, RubyDate, RFC822, RFC822Z, RFC850, RFC1123, RFC1123Z, RFC3339, RFC3339Nano, Kitchen, Stamp, StampMilli, StampMicro and StampNano
  361. ; For more information about the format see http://golang.org/pkg/time/#pkg-constants
  362. FORMAT =
  363. [log]
  364. ROOT_PATH =
  365. ; Either "console", "file", "conn", "smtp" or "database", default is "console"
  366. ; Use comma to separate multiple modes, e.g. "console, file"
  367. MODE = console
  368. ; Buffer length of channel, keep it as it is if you don't know what it is.
  369. BUFFER_LEN = 10000
  370. ; Either "Trace", "Debug", "Info", "Warn", "Error", "Critical", default is "Trace"
  371. LEVEL = Trace
  372. ; For "console" mode only
  373. [log.console]
  374. LEVEL =
  375. ; For "file" mode only
  376. [log.file]
  377. LEVEL =
  378. ; This enables automated log rotate(switch of following options), default is true
  379. LOG_ROTATE = true
  380. ; Max line number of single file, default is 1000000
  381. MAX_LINES = 1000000
  382. ; Max size shift of single file, default is 28 means 1 << 28, 256MB
  383. MAX_SIZE_SHIFT = 28
  384. ; Segment log daily, default is true
  385. DAILY_ROTATE = true
  386. ; Expired days of log file(delete after max days), default is 7
  387. MAX_DAYS = 7
  388. ; For "conn" mode only
  389. [log.conn]
  390. LEVEL =
  391. ; Reconnect host for every single message, default is false
  392. RECONNECT_ON_MSG = false
  393. ; Try to reconnect when connection is lost, default is false
  394. RECONNECT = false
  395. ; Either "tcp", "unix" or "udp", default is "tcp"
  396. PROTOCOL = tcp
  397. ; Host address
  398. ADDR =
  399. ; For "smtp" mode only
  400. [log.smtp]
  401. LEVEL =
  402. ; Name displayed in mail title, default is "Diagnostic message from server"
  403. SUBJECT = Diagnostic message from server
  404. ; Mail server
  405. HOST =
  406. ; Mailer user name and password
  407. USER =
  408. PASSWD =
  409. ; Receivers, can be one or more, e.g. 1@example.com,2@example.com
  410. RECEIVERS =
  411. ; For "database" mode only
  412. [log.database]
  413. LEVEL =
  414. ; Either "mysql" or "postgres"
  415. DRIVER =
  416. ; Based on xorm, e.g.: root:root@localhost/gitea?charset=utf8
  417. CONN =
  418. [cron]
  419. ; Enable running cron tasks periodically.
  420. ENABLED = true
  421. ; Run cron tasks when Gitea starts.
  422. RUN_AT_START = false
  423. ; Update mirrors
  424. [cron.update_mirrors]
  425. SCHEDULE = @every 10m
  426. ; Repository health check
  427. [cron.repo_health_check]
  428. SCHEDULE = @every 24h
  429. TIMEOUT = 60s
  430. ; Arguments for command 'git fsck', e.g. "--unreachable --tags"
  431. ; see more on http://git-scm.com/docs/git-fsck/1.7.5
  432. ARGS =
  433. ; Check repository statistics
  434. [cron.check_repo_stats]
  435. RUN_AT_START = true
  436. SCHEDULE = @every 24h
  437. ; Clean up old repository archives
  438. [cron.archive_cleanup]
  439. RUN_AT_START = true
  440. SCHEDULE = @every 24h
  441. ; Archives created more than OLDER_THAN ago are subject to deletion
  442. OLDER_THAN = 24h
  443. ; Synchronize external user data (only LDAP user synchronization is supported)
  444. [cron.sync_external_users]
  445. ; Synchronize external user data when starting server (default false)
  446. RUN_AT_START = false
  447. ; Interval as a duration between each synchronization (default every 24h)
  448. SCHEDULE = @every 24h
  449. ; Create new users, update existing user data and disable users that are not in external source anymore (default)
  450. ; or only create new users if UPDATE_EXISTING is set to false
  451. UPDATE_EXISTING = true
  452. [git]
  453. ; Disables highlight of added and removed changes
  454. DISABLE_DIFF_HIGHLIGHT = false
  455. ; Max number of lines allowed of a single file in diff view
  456. MAX_GIT_DIFF_LINES = 1000
  457. ; Max number of characters of a line allowed in diff view
  458. MAX_GIT_DIFF_LINE_CHARACTERS = 5000
  459. ; Max number of files shown in diff view
  460. MAX_GIT_DIFF_FILES = 100
  461. ; Arguments for command 'git gc', e.g. "--aggressive --auto"
  462. ; see more on http://git-scm.com/docs/git-gc/1.7.5
  463. GC_ARGS =
  464. ; Operation timeout in seconds
  465. [git.timeout]
  466. MIGRATE = 600
  467. MIRROR = 300
  468. CLONE = 300
  469. PULL = 300
  470. GC = 60
  471. [mirror]
  472. ; Default interval as a duration between each check
  473. DEFAULT_INTERVAL = 8h
  474. ; Min interval as a duration must be > 1m
  475. MIN_INTERVAL = 10m
  476. [api]
  477. ; Max number of items will response in a page
  478. MAX_RESPONSE_ITEMS = 50
  479. [i18n]
  480. LANGS = en-US,zh-CN,zh-HK,zh-TW,de-DE,fr-FR,nl-NL,lv-LV,ru-RU,ja-JP,es-ES,pt-BR,pl-PL,bg-BG,it-IT,fi-FI,tr-TR,cs-CZ,sr-SP,sv-SE,ko-KR
  481. NAMES = English,简体中文,繁體中文(香港),繁體中文(台灣),Deutsch,Français,Nederlands,Latviešu,Русский,日本語,Español,Português do Brasil,Polski,български,Italiano,Suomalainen,Türkçe,čeština,Српски,Svenska,한국어
  482. ; Used for datetimepicker
  483. [i18n.datelang]
  484. en-US = en
  485. zh-CN = zh
  486. zh-HK = zh-TW
  487. zh-TW = zh-TW
  488. de-DE = de
  489. fr-FR = fr
  490. nl-NL = nl
  491. lv-LV = lv
  492. ru-RU = ru
  493. ja-JP = ja
  494. es-ES = es
  495. pt-BR = pt-BR
  496. pl-PL = pl
  497. bg-BG = bg
  498. it-IT = it
  499. fi-FI = fi
  500. tr-TR = tr
  501. cs-CZ = cs-CZ
  502. sr-SP = sr
  503. sv-SE = sv
  504. ko-KR = ko
  505. ; Extension mapping to highlight class
  506. ; e.g. .toml=ini
  507. [highlight.mapping]
  508. [other]
  509. SHOW_FOOTER_BRANDING = false
  510. ; Show version information about Gitea and Go in the footer
  511. SHOW_FOOTER_VERSION = true
  512. ; Show time of template execution in the footer
  513. SHOW_FOOTER_TEMPLATE_LOAD_TIME = true