111 lines
4.7 KiB
Diff
111 lines
4.7 KiB
Diff
331,334d330
|
|
< ;; When clients make lfs batch requests, reject them if there are more pointers than this number
|
|
< ;; zero means 'unlimited'
|
|
< ;LFS_MAX_BATCH_SIZE = 0
|
|
< ;;
|
|
356,365c352
|
|
< ;; Database to use. Either "sqlite3", "mySQL" or "postgres".
|
|
< ;;
|
|
< ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
< ;;
|
|
< ;; SQLite Configuration
|
|
< ;;
|
|
< DB_TYPE = sqlite3
|
|
< ;PATH= ; defaults to data/forgejo.db
|
|
< ;SQLITE_TIMEOUT = ; Query timeout defaults to: 500
|
|
< ;SQLITE_JOURNAL_MODE = ; defaults to sqlite database default (often DELETE), can be used to enable WAL mode. https://www.sqlite.org/pragma.html#pragma_journal_mode
|
|
---
|
|
> ;; Database to use. Either "mysql", "postgres", "mssql" or "sqlite3".
|
|
371,374c358,361
|
|
< ;DB_TYPE = mysql
|
|
< ;HOST = 127.0.0.1:3306 ; can use socket e.g. /var/run/mysqld/mysqld.sock
|
|
< ;NAME = gitea
|
|
< ;USER = root
|
|
---
|
|
> DB_TYPE = mysql
|
|
> HOST = 127.0.0.1:3306 ; can use socket e.g. /var/run/mysqld/mysqld.sock
|
|
> NAME = gitea
|
|
> USER = root
|
|
392a380,399
|
|
> ;; SQLite Configuration
|
|
> ;;
|
|
> ;DB_TYPE = sqlite3
|
|
> ;PATH= ; defaults to data/forgejo.db
|
|
> ;SQLITE_TIMEOUT = ; Query timeout defaults to: 500
|
|
> ;SQLITE_JOURNAL_MODE = ; defaults to sqlite database default (often DELETE), can be used to enable WAL mode. https://www.sqlite.org/pragma.html#pragma_journal_mode
|
|
> ;;
|
|
> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
> ;;
|
|
> ;; MSSQL Configuration
|
|
> ;;
|
|
> ;DB_TYPE = mssql
|
|
> ;HOST = 172.17.0.2:1433
|
|
> ;NAME = gitea
|
|
> ;USER = SA
|
|
> ;PASSWD = MwantsaSecurePassword1
|
|
> ;CHARSET_COLLATION = ; Empty as default, Gitea will try to find a case-sensitive collation. Don't change it unless you clearly know what you need.
|
|
> ;;
|
|
> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
> ;;
|
|
904,906d910
|
|
< ;; Whether to allow internal signin
|
|
< ; ENABLE_INTERNAL_SIGNIN = true
|
|
< ;;
|
|
924,941d927
|
|
< ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
< ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
< ;[service.explore]
|
|
< ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
< ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
< ;;
|
|
< ;; Only allow signed in users to view the explore pages.
|
|
< ;REQUIRE_SIGNIN_VIEW = false
|
|
< ;;
|
|
< ;; Disable the users explore page.
|
|
< ;DISABLE_USERS_PAGE = false
|
|
< ;;
|
|
< ;; Disable the organizations explore page.
|
|
< ;DISABLE_ORGANIZATIONS_PAGE = false
|
|
< ;;
|
|
< ;; Disable the code explore page.
|
|
< ;DISABLE_CODE_PAGE = false
|
|
< ;;
|
|
1944c1930
|
|
< ;ALLOWED_TYPES = .avif,.cpuprofile,.csv,.dmp,.docx,.fodg,.fodp,.fods,.fodt,.gif,.gz,.jpeg,.jpg,.json,.jsonc,.log,.md,.mov,.mp4,.odf,.odg,.odp,.ods,.odt,.patch,.pdf,.png,.pptx,.svg,.tgz,.txt,.webm,.xls,.xlsx,.zip
|
|
---
|
|
> ;ALLOWED_TYPES = .cpuprofile,.csv,.dmp,.docx,.fodg,.fodp,.fods,.fodt,.gif,.gz,.jpeg,.jpg,.json,.jsonc,.log,.md,.mov,.mp4,.odf,.odg,.odp,.ods,.odt,.patch,.pdf,.png,.pptx,.svg,.tgz,.txt,.webm,.xls,.xlsx,.zip
|
|
1982c1968
|
|
< ;MINIO_BUCKET_LOOKUP =
|
|
---
|
|
> ;MINIO_BUCKET_LOOKUP =
|
|
2313c2299
|
|
< ;; Delete all old activities from database
|
|
---
|
|
> ;; Delete all old actions from database
|
|
2410,2411c2396,2397
|
|
< ;LANGS = en-US,zh-CN,zh-HK,zh-TW,de-DE,nds,fr-FR,nl-NL,lv-LV,ru-RU,uk-UA,ja-JP,es-ES,pt-BR,pt-PT,pl-PL,bg,it-IT,fi-FI,fil,eo,tr-TR,cs-CZ,sl,sv-SE,ko-KR,el-GR,fa-IR,hu-HU,id-ID
|
|
< ;NAMES = English,简体中文,繁體中文(香港),繁體中文(台灣),Deutsch,Plattdüütsch,Français,Nederlands,Latviešu,Русский,Українська,日本語,Español,Português do Brasil,Português de Portugal,Polski,Български,Italiano,Suomi,Filipino,Esperanto,Türkçe,Čeština,Slovenščina,Svenska,한국어,Ελληνικά,فارسی,Magyar nyelv,Bahasa Indonesia
|
|
---
|
|
> ;LANGS = en-US,zh-CN,zh-HK,zh-TW,de-DE,fr-FR,nl-NL,lv-LV,ru-RU,uk-UA,ja-JP,es-ES,pt-BR,pt-PT,pl-PL,bg-BG,it-IT,fi-FI,tr-TR,cs-CZ,sv-SE,ko-KR,el-GR,fa-IR,hu-HU,id-ID,ml-IN
|
|
> ;NAMES = English,简体中文,繁體中文(香港),繁體中文(台灣),Deutsch,Français,Nederlands,Latviešu,Русский,Українська,日本語,Español,Português do Brasil,Português de Portugal,Polski,Български,Italiano,Suomi,Türkçe,Čeština,Српски,Svenska,한국어,Ελληνικά,فارسی,Magyar nyelv,Bahasa Indonesia,മലയാളം
|
|
2673c2659,2661
|
|
< ;; settings for Gitea's LFS client (eg: mirroring an upstream lfs endpoint)
|
|
---
|
|
> ;[annex]
|
|
> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
2675,2679c2663,2666
|
|
< ;[lfs_client]
|
|
< ;; Limit the number of pointers in each batch request to this number
|
|
< ;BATCH_SIZE = 20
|
|
< ;; Limit the number of concurrent upload/download operations within a batch
|
|
< ;BATCH_OPERATION_CONCURRENCY = 8
|
|
---
|
|
> ;; Whether git-annex is enabled; defaults to false
|
|
> ;ENABLED = false
|
|
> ;; Whether to disable p2phttp support; default is the same as repository.DISABLE_HTTP_GIT
|
|
> ;DISABLE_P2PHTTP = false
|
|
2715c2702
|
|
< ;MINIO_BUCKET_LOOKUP =
|
|
---
|
|
> ;MINIO_BUCKET_LOOKUP =
|