code.gitea.io/gitea@v1.21.7/custom/conf/app.example.ini (about)

     1  ; This file lists the default values used by Gitea
     2  ;; Copy required sections to your own app.ini (default is custom/conf/app.ini)
     3  ;; and modify as needed.
     4  ;; Do not copy the whole file as-is, as it contains some invalid sections for illustrative purposes.
     5  ;; If you don't know what a setting is you should not set it.
     6  ;;
     7  ;; see https://docs.gitea.com/administration/config-cheat-sheet for additional documentation.
     8  
     9  
    10  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    11  ;; Default Configuration (non-`app.ini` configuration)
    12  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    13  ;;
    14  ;; These values are environment-dependent but form the basis of a lot of values. They will be
    15  ;; reported as part of the default configuration when running `gitea help` or on start-up. The order they are emitted there is slightly different but we will list them here in the order they are set-up.
    16  ;;
    17  ;; - _`AppPath`_: This is the absolute path of the running gitea binary.
    18  ;; - _`AppWorkPath`_: This refers to "working path" of the `gitea` binary. It is determined by using the first set thing in the following hierarchy:
    19  ;;   - The "WORK_PATH" option in "app.ini" file
    20  ;;   - The `--work-path` flag passed to the binary
    21  ;;   - The environment variable `$GITEA_WORK_DIR`
    22  ;;   - A built-in value set at build time (see building from source)
    23  ;;   - Otherwise it defaults to the directory of the _`AppPath`_
    24  ;;   - If any of the above are relative paths then they are made absolute against the directory of the _`AppPath`_
    25  ;; - _`CustomPath`_: This is the base directory for custom templates and other options. It is determined by using the first set thing in the following hierarchy:
    26  ;;   - The `--custom-path` flag passed to the binary
    27  ;;   - The environment variable `$GITEA_CUSTOM`
    28  ;;   - A built-in value set at build time (see building from source)
    29  ;;   - Otherwise it defaults to _`AppWorkPath`_`/custom`
    30  ;;   - If any of the above are relative paths then they are made absolute against the directory of the _`AppWorkPath`_
    31  ;; - _`CustomConf`_: This is the path to the `app.ini` file.
    32  ;;   - The `--config` flag passed to the binary
    33  ;;   - A built-in value set at build time (see building from source)
    34  ;;   - Otherwise it defaults to _`CustomPath`_`/conf/app.ini`
    35  ;;   - If any of the above are relative paths then they are made absolute against the directory of the _`CustomPath`_
    36  ;;
    37  ;; In addition there is _`StaticRootPath`_ which can be set as a built-in at build time, but will otherwise default to _`AppWorkPath`_
    38  
    39  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    40  ;; General Settings
    41  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    42  ;;
    43  ;; App name that shows in every page title
    44  APP_NAME = ; Gitea: Git with a cup of tea
    45  ;;
    46  ;; RUN_USER will automatically detect the current user - but you can set it here change it if you run locally
    47  RUN_USER = ; git
    48  ;;
    49  ;; Application run mode, affects performance and debugging: "dev" or "prod", default is "prod"
    50  ;; Mode "dev" makes Gitea easier to develop and debug, values other than "dev" are treated as "prod" which is for production use.
    51  ;RUN_MODE = prod
    52  ;;
    53  ;; The working directory, see the comment of AppWorkPath above
    54  ;WORK_PATH =
    55  
    56  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    57  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    58  [server]
    59  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    60  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    61  ;;
    62  ;; The protocol the server listens on. One of 'http', 'https', 'http+unix', 'fcgi' or 'fcgi+unix'. Defaults to 'http'
    63  ;PROTOCOL = http
    64  ;;
    65  ;; Expect PROXY protocol headers on connections
    66  ;USE_PROXY_PROTOCOL = false
    67  ;;
    68  ;; Use PROXY protocol in TLS Bridging mode
    69  ;PROXY_PROTOCOL_TLS_BRIDGING = false
    70  ;;
    71  ; Timeout to wait for PROXY protocol header (set to 0 to have no timeout)
    72  ;PROXY_PROTOCOL_HEADER_TIMEOUT=5s
    73  ;;
    74  ; Accept PROXY protocol headers with UNKNOWN type
    75  ;PROXY_PROTOCOL_ACCEPT_UNKNOWN=false
    76  ;;
    77  ;; Set the domain for the server
    78  ;DOMAIN = localhost
    79  ;;
    80  ;; Overwrite the automatically generated public URL. Necessary for proxies and docker.
    81  ;ROOT_URL = %(PROTOCOL)s://%(DOMAIN)s:%(HTTP_PORT)s/
    82  ;;
    83  ;; when STATIC_URL_PREFIX is empty it will follow ROOT_URL
    84  ;STATIC_URL_PREFIX =
    85  ;;
    86  ;; The address to listen on. Either a IPv4/IPv6 address or the path to a unix socket.
    87  ;; If PROTOCOL is set to `http+unix` or `fcgi+unix`, this should be the name of the Unix socket file to use.
    88  ;; Relative paths will be made absolute against the _`AppWorkPath`_.
    89  ;HTTP_ADDR = 0.0.0.0
    90  ;;
    91  ;; The port to listen on. Leave empty when using a unix socket.
    92  ;HTTP_PORT = 3000
    93  ;;
    94  ;; If REDIRECT_OTHER_PORT is true, and PROTOCOL is set to https an http server
    95  ;; will be started on PORT_TO_REDIRECT and it will redirect plain, non-secure http requests to the main
    96  ;; ROOT_URL.  Defaults are false for REDIRECT_OTHER_PORT and 80 for
    97  ;; PORT_TO_REDIRECT.
    98  ;REDIRECT_OTHER_PORT = false
    99  ;PORT_TO_REDIRECT = 80
   100  ;;
   101  ;; expect PROXY protocol header on connections to https redirector.
   102  ;REDIRECTOR_USE_PROXY_PROTOCOL = %(USE_PROXY_PROTOCOL)s
   103  ;; Minimum and maximum supported TLS versions
   104  ;SSL_MIN_VERSION=TLSv1.2
   105  ;SSL_MAX_VERSION=
   106  ;;
   107  ;; SSL Curve Preferences
   108  ;SSL_CURVE_PREFERENCES=X25519,P256
   109  ;;
   110  ;; SSL Cipher Suites
   111  ;SSL_CIPHER_SUITES=; Will default to "ecdhe_ecdsa_with_aes_256_gcm_sha384,ecdhe_rsa_with_aes_256_gcm_sha384,ecdhe_ecdsa_with_aes_128_gcm_sha256,ecdhe_rsa_with_aes_128_gcm_sha256,ecdhe_ecdsa_with_chacha20_poly1305,ecdhe_rsa_with_chacha20_poly1305" if aes is supported by hardware, otherwise chacha will be first.
   112  ;;
   113  ;; Timeout for any write to the connection. (Set to -1 to disable all timeouts.)
   114  ;PER_WRITE_TIMEOUT = 30s
   115  ;;
   116  ;; Timeout per Kb written to connections.
   117  ;PER_WRITE_PER_KB_TIMEOUT = 30s
   118  ;;
   119  ;; Permission for unix socket
   120  ;UNIX_SOCKET_PERMISSION = 666
   121  ;;
   122  ;; Local (DMZ) URL for Gitea workers (such as SSH update) accessing web service. In
   123  ;; most cases you do not need to change the default value. Alter it only if
   124  ;; your SSH server node is not the same as HTTP node. For different protocol, the default
   125  ;; values are different. If `PROTOCOL` is `http+unix`, the default value is `http://unix/`.
   126  ;; If `PROTOCOL` is `fcgi` or `fcgi+unix`, the default value is `%(PROTOCOL)s://%(HTTP_ADDR)s:%(HTTP_PORT)s/`.
   127  ;; If listen on `0.0.0.0`, the default value is `%(PROTOCOL)s://localhost:%(HTTP_PORT)s/`, Otherwise the default
   128  ;; value is `%(PROTOCOL)s://%(HTTP_ADDR)s:%(HTTP_PORT)s/`.
   129  ;LOCAL_ROOT_URL = %(PROTOCOL)s://%(HTTP_ADDR)s:%(HTTP_PORT)s/
   130  ;;
   131  ;; When making local connections pass the PROXY protocol header.
   132  ;LOCAL_USE_PROXY_PROTOCOL = %(USE_PROXY_PROTOCOL)s
   133  ;;
   134  ;; Disable SSH feature when not available
   135  ;DISABLE_SSH = false
   136  ;;
   137  ;; Whether to use the builtin SSH server or not.
   138  ;START_SSH_SERVER = false
   139  ;;
   140  ;; Expect PROXY protocol header on connections to the built-in SSH server
   141  ;SSH_SERVER_USE_PROXY_PROTOCOL = false
   142  ;;
   143  ;; Username to use for the builtin SSH server. If blank, then it is the value of RUN_USER.
   144  ;BUILTIN_SSH_SERVER_USER = %(RUN_USER)s
   145  ;;
   146  ;; Domain name to be exposed in clone URL
   147  ;SSH_DOMAIN = %(DOMAIN)s
   148  ;;
   149  ;; SSH username displayed in clone URLs.
   150  ;SSH_USER = %(BUILTIN_SSH_SERVER_USER)s
   151  ;;
   152  ;; The network interface the builtin SSH server should listen on
   153  ;SSH_LISTEN_HOST =
   154  ;;
   155  ;; Port number to be exposed in clone URL
   156  ;SSH_PORT = 22
   157  ;;
   158  ;; The port number the builtin SSH server should listen on
   159  ;SSH_LISTEN_PORT = %(SSH_PORT)s
   160  ;;
   161  ;; Root path of SSH directory, default is '~/.ssh', but you have to use '/home/git/.ssh'.
   162  ;SSH_ROOT_PATH =
   163  ;;
   164  ;; Gitea will create a authorized_keys file by default when it is not using the internal ssh server
   165  ;; If you intend to use the AuthorizedKeysCommand functionality then you should turn this off.
   166  ;SSH_CREATE_AUTHORIZED_KEYS_FILE = true
   167  ;;
   168  ;; Gitea will create a authorized_principals file by default when it is not using the internal ssh server
   169  ;; If you intend to use the AuthorizedPrincipalsCommand functionality then you should turn this off.
   170  ;SSH_CREATE_AUTHORIZED_PRINCIPALS_FILE = true
   171  ;;
   172  ;; For the built-in SSH server, choose the ciphers to support for SSH connections,
   173  ;; for system SSH this setting has no effect
   174  ;SSH_SERVER_CIPHERS = chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com
   175  ;;
   176  ;; For the built-in SSH server, choose the key exchange algorithms to support for SSH connections,
   177  ;; for system SSH this setting has no effect
   178  ;SSH_SERVER_KEY_EXCHANGES = curve25519-sha256, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group14-sha256, diffie-hellman-group14-sha1
   179  ;;
   180  ;; For the built-in SSH server, choose the MACs to support for SSH connections,
   181  ;; for system SSH this setting has no effect
   182  ;SSH_SERVER_MACS = hmac-sha2-256-etm@openssh.com, hmac-sha2-256, hmac-sha1
   183  ;;
   184  ;; For the built-in SSH server, choose the keypair to offer as the host key
   185  ;; The private key should be at SSH_SERVER_HOST_KEY and the public SSH_SERVER_HOST_KEY.pub
   186  ;; relative paths are made absolute relative to the %(APP_DATA_PATH)s
   187  ;SSH_SERVER_HOST_KEYS=ssh/gitea.rsa, ssh/gogs.rsa
   188  ;;
   189  ;; Directory to create temporary files in when testing public keys using ssh-keygen,
   190  ;; default is the system temporary directory.
   191  ;SSH_KEY_TEST_PATH =
   192  ;;
   193  ;; Use `ssh-keygen` to parse public SSH keys. The value is passed to the shell. By default, Gitea does the parsing itself.
   194  ;SSH_KEYGEN_PATH =
   195  ;;
   196  ;; Enable SSH Authorized Key Backup when rewriting all keys, default is false
   197  ;SSH_AUTHORIZED_KEYS_BACKUP = false
   198  ;;
   199  ;; Determines which principals to allow
   200  ;; - empty: if SSH_TRUSTED_USER_CA_KEYS is empty this will default to off, otherwise will default to email, username.
   201  ;; - off: Do not allow authorized principals
   202  ;; - email: the principal must match the user's email
   203  ;; - username: the principal must match the user's username
   204  ;; - anything: there will be no checking on the content of the principal
   205  ;SSH_AUTHORIZED_PRINCIPALS_ALLOW = email, username
   206  ;;
   207  ;; Enable SSH Authorized Principals Backup when rewriting all keys, default is true
   208  ;SSH_AUTHORIZED_PRINCIPALS_BACKUP = true
   209  ;;
   210  ;; Specifies the public keys of certificate authorities that are trusted to sign user certificates for authentication.
   211  ;; Multiple keys should be comma separated.
   212  ;; E.g."ssh-<algorithm> <key>". or "ssh-<algorithm> <key1>, ssh-<algorithm> <key2>".
   213  ;; For more information see "TrustedUserCAKeys" in the sshd config manpages.
   214  ;SSH_TRUSTED_USER_CA_KEYS =
   215  ;; Absolute path of the `TrustedUserCaKeys` file gitea will manage.
   216  ;; Default this `RUN_USER`/.ssh/gitea-trusted-user-ca-keys.pem
   217  ;; If you're running your own ssh server and you want to use the gitea managed file you'll also need to modify your
   218  ;; sshd_config to point to this file. The official docker image will automatically work without further configuration.
   219  ;SSH_TRUSTED_USER_CA_KEYS_FILENAME =
   220  ;;
   221  ;; Enable exposure of SSH clone URL to anonymous visitors, default is false
   222  ;SSH_EXPOSE_ANONYMOUS = false
   223  ;;
   224  ;; Timeout for any write to ssh connections. (Set to -1 to disable all timeouts.)
   225  ;; Will default to the PER_WRITE_TIMEOUT.
   226  ;SSH_PER_WRITE_TIMEOUT = 30s
   227  ;;
   228  ;; Timeout per Kb written to ssh connections.
   229  ;; Will default to the PER_WRITE_PER_KB_TIMEOUT.
   230  ;SSH_PER_WRITE_PER_KB_TIMEOUT = 30s
   231  ;;
   232  ;; Indicate whether to check minimum key size with corresponding type
   233  ;MINIMUM_KEY_SIZE_CHECK = false
   234  ;;
   235  ;; Disable CDN even in "prod" mode
   236  ;OFFLINE_MODE = false
   237  ;;
   238  ;; TLS Settings: Either ACME or manual
   239  ;; (Other common TLS configuration are found before)
   240  ;ENABLE_ACME = false
   241  ;;
   242  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   243  ;;
   244  ;; ACME automatic TLS settings
   245  ;;
   246  ;; ACME directory URL (e.g. LetsEncrypt's staging/testing URL: https://acme-staging-v02.api.letsencrypt.org/directory)
   247  ;; Leave empty to default to LetsEncrypt's (production) URL
   248  ;ACME_URL =
   249  ;;
   250  ;; Explicitly accept the ACME's TOS. The specific TOS cannot be retrieved at the moment.
   251  ;ACME_ACCEPTTOS = false
   252  ;;
   253  ;; If the ACME CA is not in your system's CA trust chain, it can be manually added here
   254  ;ACME_CA_ROOT =
   255  ;;
   256  ;; Email used for the ACME registration service
   257  ;; Can be left blank to initialize at first run and use the cached value
   258  ;ACME_EMAIL =
   259  ;;
   260  ;; ACME live directory (not to be confused with ACME directory URL: ACME_URL)
   261  ;; (Refer to caddy's ACME manager https://github.com/caddyserver/certmagic)
   262  ;ACME_DIRECTORY = https
   263  ;;
   264  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   265  ;;
   266  ;;  Manual TLS settings: (Only applicable if ENABLE_ACME=false)
   267  ;;
   268  ;; Generate steps:
   269  ;; $ ./gitea cert -ca=true -duration=8760h0m0s -host=myhost.example.com
   270  ;;
   271  ;; Or from a .pfx file exported from the Windows certificate store (do
   272  ;; not forget to export the private key):
   273  ;; $ openssl pkcs12 -in cert.pfx -out cert.pem -nokeys
   274  ;; $ openssl pkcs12 -in cert.pfx -out key.pem -nocerts -nodes
   275  ;; Paths are relative to CUSTOM_PATH
   276  ;CERT_FILE = https/cert.pem
   277  ;KEY_FILE = https/key.pem
   278  ;;
   279  ;; Root directory containing templates and static files.
   280  ;; default is the path where Gitea is executed
   281  ;STATIC_ROOT_PATH = ; Will default to the built-in value _`StaticRootPath`_
   282  ;;
   283  ;; Default path for App data
   284  ;APP_DATA_PATH = data ; relative paths will be made absolute with _`AppWorkPath`_
   285  ;;
   286  ;; Enable gzip compression for runtime-generated content, static resources excluded
   287  ;ENABLE_GZIP = false
   288  ;;
   289  ;; Application profiling (memory and cpu)
   290  ;; For "web" command it listens on localhost:6060
   291  ;; For "serve" command it dumps to disk at PPROF_DATA_PATH as (cpuprofile|memprofile)_<username>_<temporary id>
   292  ;ENABLE_PPROF = false
   293  ;;
   294  ;; PPROF_DATA_PATH, use an absolute path when you start gitea as service
   295  ;PPROF_DATA_PATH = data/tmp/pprof ; Path is relative to _`AppWorkPath`_
   296  ;;
   297  ;; Landing page, can be "home", "explore", "organizations", "login", or any URL such as "/org/repo" or even "https://anotherwebsite.com"
   298  ;; The "login" choice is not a security measure but just a UI flow change, use REQUIRE_SIGNIN_VIEW to force users to log in.
   299  ;LANDING_PAGE = home
   300  ;;
   301  ;; Enables git-lfs support. true or false, default is false.
   302  ;LFS_START_SERVER = false
   303  ;;
   304  ;;
   305  ;; LFS authentication secret, change this yourself
   306  ;LFS_JWT_SECRET =
   307  ;;
   308  ;; Alternative location to specify LFS authentication secret. You cannot specify both this and LFS_JWT_SECRET, and must pick one
   309  ;LFS_JWT_SECRET_URI = file:/etc/gitea/lfs_jwt_secret
   310  ;;
   311  ;; LFS authentication validity period (in time.Duration), pushes taking longer than this may fail.
   312  ;LFS_HTTP_AUTH_EXPIRY = 24h
   313  ;;
   314  ;; Maximum allowed LFS file size in bytes (Set to 0 for no limit).
   315  ;LFS_MAX_FILE_SIZE = 0
   316  ;;
   317  ;; Maximum number of locks returned per page
   318  ;LFS_LOCKS_PAGING_NUM = 50
   319  ;;
   320  ;; Allow graceful restarts using SIGHUP to fork
   321  ;ALLOW_GRACEFUL_RESTARTS = true
   322  ;;
   323  ;; After a restart the parent will finish ongoing requests before
   324  ;; shutting down. Force shutdown if this process takes longer than this delay.
   325  ;; set to a negative value to disable
   326  ;GRACEFUL_HAMMER_TIME = 60s
   327  ;;
   328  ;; Allows the setting of a startup timeout and waithint for Windows as SVC service
   329  ;; 0 disables this.
   330  ;STARTUP_TIMEOUT = 0
   331  ;;
   332  ;; Static resources, includes resources on custom/, public/ and all uploaded avatars web browser cache time. Note that this cache is disabled when RUN_MODE is "dev". Default is 6h
   333  ;STATIC_CACHE_TIME = 6h
   334  
   335  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   336  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   337  [database]
   338  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   339  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   340  ;;
   341  ;; Database to use. Either "mysql", "postgres", "mssql" or "sqlite3".
   342  ;;
   343  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   344  ;;
   345  ;; MySQL Configuration
   346  ;;
   347  DB_TYPE = mysql
   348  HOST = 127.0.0.1:3306 ; can use socket e.g. /var/run/mysqld/mysqld.sock
   349  NAME = gitea
   350  USER = root
   351  ;PASSWD = ;Use PASSWD = `your password` for quoting if you use special characters in the password.
   352  ;SSL_MODE = false ; either "false" (default), "true", or "skip-verify"
   353  ;;
   354  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   355  ;;
   356  ;; Postgres Configuration
   357  ;;
   358  ;DB_TYPE = postgres
   359  ;HOST = 127.0.0.1:5432 ; can use socket e.g. /var/run/postgresql/
   360  ;NAME = gitea
   361  ;USER = root
   362  ;PASSWD =
   363  ;SCHEMA =
   364  ;SSL_MODE=disable ;either "disable" (default), "require", or "verify-full"
   365  ;;
   366  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   367  ;;
   368  ;; SQLite Configuration
   369  ;;
   370  ;DB_TYPE = sqlite3
   371  ;PATH= ; defaults to data/gitea.db
   372  ;SQLITE_TIMEOUT = ; Query timeout defaults to: 500
   373  ;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
   374  ;;
   375  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   376  ;;
   377  ;; MSSQL Configuration
   378  ;;
   379  ;DB_TYPE = mssql
   380  ;HOST = 172.17.0.2:1433
   381  ;NAME = gitea
   382  ;USER = SA
   383  ;PASSWD = MwantsaSecurePassword1
   384  ;;
   385  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   386  ;;
   387  ;; Other settings
   388  ;;
   389  ;; For iterate buffer, default is 50
   390  ;ITERATE_BUFFER_SIZE = 50
   391  ;;
   392  ;; Show the database generated SQL
   393  ;LOG_SQL = false
   394  ;;
   395  ;; Maximum number of DB Connect retries
   396  ;DB_RETRIES = 10
   397  ;;
   398  ;; Backoff time per DB retry (time.Duration)
   399  ;DB_RETRY_BACKOFF = 3s
   400  ;;
   401  ;; Max idle database connections on connection pool, default is 2
   402  ;MAX_IDLE_CONNS = 2
   403  ;;
   404  ;; Database connection max life time, default is 0 or 3s mysql (See #6804 & #7071 for reasoning)
   405  ;CONN_MAX_LIFETIME = 3s
   406  ;;
   407  ;; Database maximum number of open connections, default is 0 meaning no maximum
   408  ;MAX_OPEN_CONNS = 0
   409  ;;
   410  ;; Whether execute database models migrations automatically
   411  ;AUTO_MIGRATION = true
   412  
   413  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   414  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   415  [security]
   416  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   417  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   418  ;;
   419  ;; Whether the installer is disabled (set to true to disable the installer)
   420  INSTALL_LOCK = false
   421  ;;
   422  ;; Global secret key that will be used
   423  ;; This key is VERY IMPORTANT. If you lose it, the data encrypted by it (like 2FA secret) can't be decrypted anymore.
   424  SECRET_KEY =
   425  ;;
   426  ;; Alternative location to specify secret key, instead of this file; you cannot specify both this and SECRET_KEY, and must pick one
   427  ;; This key is VERY IMPORTANT. If you lose it, the data encrypted by it (like 2FA secret) can't be decrypted anymore.
   428  ;SECRET_KEY_URI = file:/etc/gitea/secret_key
   429  ;;
   430  ;; Secret used to validate communication within Gitea binary.
   431  INTERNAL_TOKEN=
   432  ;;
   433  ;; Alternative location to specify internal token, instead of this file; you cannot specify both this and INTERNAL_TOKEN, and must pick one
   434  ;INTERNAL_TOKEN_URI = file:/etc/gitea/internal_token
   435  ;;
   436  ;; How long to remember that a user is logged in before requiring relogin (in days)
   437  ;LOGIN_REMEMBER_DAYS = 7
   438  ;;
   439  ;; Name of the cookie used to store the current username.
   440  ;COOKIE_USERNAME = gitea_awesome
   441  ;;
   442  ;; Name of cookie used to store authentication information.
   443  ;COOKIE_REMEMBER_NAME = gitea_incredible
   444  ;;
   445  ;; Reverse proxy authentication header name of user name, email, and full name
   446  ;REVERSE_PROXY_AUTHENTICATION_USER = X-WEBAUTH-USER
   447  ;REVERSE_PROXY_AUTHENTICATION_EMAIL = X-WEBAUTH-EMAIL
   448  ;REVERSE_PROXY_AUTHENTICATION_FULL_NAME = X-WEBAUTH-FULLNAME
   449  ;;
   450  ;; Interpret X-Forwarded-For header or the X-Real-IP header and set this as the remote IP for the request
   451  ;REVERSE_PROXY_LIMIT = 1
   452  ;;
   453  ;; List of IP addresses and networks separated by comma of trusted proxy servers. Use `*` to trust all.
   454  ;REVERSE_PROXY_TRUSTED_PROXIES = 127.0.0.0/8,::1/128
   455  ;;
   456  ;; The minimum password length for new Users
   457  ;MIN_PASSWORD_LENGTH = 8
   458  ;;
   459  ;; Set to true to allow users to import local server paths
   460  ;IMPORT_LOCAL_PATHS = false
   461  ;;
   462  ;; Set to false to allow users with git hook privileges to create custom git hooks.
   463  ;; Custom git hooks can be used to perform arbitrary code execution on the host operating system.
   464  ;; This enables the users to access and modify this config file and the Gitea database and interrupt the Gitea service.
   465  ;; By modifying the Gitea database, users can gain Gitea administrator privileges.
   466  ;; It also enables them to access other resources available to the user on the operating system that is running the Gitea instance and perform arbitrary actions in the name of the Gitea OS user.
   467  ;; WARNING: This maybe harmful to you website or your operating system.
   468  ;; WARNING: Setting this to true does not change existing hooks in git repos; adjust it before if necessary.
   469  ;DISABLE_GIT_HOOKS = true
   470  ;;
   471  ;; Set to true to disable webhooks feature.
   472  ;DISABLE_WEBHOOKS = false
   473  ;;
   474  ;; Set to false to allow pushes to gitea repositories despite having an incomplete environment - NOT RECOMMENDED
   475  ;ONLY_ALLOW_PUSH_IF_GITEA_ENVIRONMENT_SET = true
   476  ;;
   477  ;;Comma separated list of character classes required to pass minimum complexity.
   478  ;;If left empty or no valid values are specified, the default is off (no checking)
   479  ;;Classes include "lower,upper,digit,spec"
   480  ;PASSWORD_COMPLEXITY = off
   481  ;;
   482  ;; Password Hash algorithm, either "argon2", "pbkdf2", "scrypt" or "bcrypt"
   483  ;PASSWORD_HASH_ALGO = pbkdf2
   484  ;;
   485  ;; Set false to allow JavaScript to read CSRF cookie
   486  ;CSRF_COOKIE_HTTP_ONLY = true
   487  ;;
   488  ;; Validate against https://haveibeenpwned.com/Passwords to see if a password has been exposed
   489  ;PASSWORD_CHECK_PWN = false
   490  ;;
   491  ;; Cache successful token hashes. API tokens are stored in the DB as pbkdf2 hashes however, this means that there is a potentially significant hashing load when there are multiple API operations.
   492  ;; This cache will store the successfully hashed tokens in a LRU cache as a balance between performance and security.
   493  ;SUCCESSFUL_TOKENS_CACHE_SIZE = 20
   494  ;;
   495  ;; Reject API tokens sent in URL query string (Accept Header-based API tokens only). This avoids security vulnerabilities
   496  ;; stemming from cached/logged plain-text API tokens.
   497  ;; In future releases, this will become the default behavior
   498  ;DISABLE_QUERY_AUTH_TOKEN = false
   499  
   500  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   501  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   502  [camo]
   503  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   504  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   505  ;;
   506  ;; At the moment we only support images
   507  ;;
   508  ;; if the camo is enabled
   509  ;ENABLED = false
   510  ;; url to a camo image proxy, it **is required** if camo is enabled.
   511  ;SERVER_URL =
   512  ;; HMAC to encode urls with, it **is required** if camo is enabled.
   513  ;HMAC_KEY =
   514  ;; Set to true to use camo for https too lese only non https urls are proxyed
   515  ;ALLWAYS = false
   516  
   517  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   518  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   519  [oauth2]
   520  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   521  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   522  ;;
   523  ;; Enables OAuth2 provider
   524  ENABLE = true
   525  ;;
   526  ;; Algorithm used to sign OAuth2 tokens. Valid values: HS256, HS384, HS512, RS256, RS384, RS512, ES256, ES384, ES512, EdDSA
   527  ;JWT_SIGNING_ALGORITHM = RS256
   528  ;;
   529  ;; Private key file path used to sign OAuth2 tokens. The path is relative to APP_DATA_PATH.
   530  ;; This setting is only needed if JWT_SIGNING_ALGORITHM is set to RS256, RS384, RS512, ES256, ES384 or ES512.
   531  ;; The file must contain a RSA or ECDSA private key in the PKCS8 format. If no key exists a 4096 bit key will be created for you.
   532  ;JWT_SIGNING_PRIVATE_KEY_FILE = jwt/private.pem
   533  ;;
   534  ;; OAuth2 authentication secret for access and refresh tokens, change this yourself to a unique string. CLI generate option is helpful in this case. https://docs.gitea.io/en-us/command-line/#generate
   535  ;; This setting is only needed if JWT_SIGNING_ALGORITHM is set to HS256, HS384 or HS512.
   536  ;JWT_SECRET =
   537  ;;
   538  ;; Alternative location to specify OAuth2 authentication secret. You cannot specify both this and JWT_SECRET, and must pick one
   539  ;JWT_SECRET_URI = file:/etc/gitea/oauth2_jwt_secret
   540  ;;
   541  ;; Lifetime of an OAuth2 access token in seconds
   542  ;ACCESS_TOKEN_EXPIRATION_TIME = 3600
   543  ;;
   544  ;; Lifetime of an OAuth2 refresh token in hours
   545  ;REFRESH_TOKEN_EXPIRATION_TIME = 730
   546  ;;
   547  ;; Check if refresh token got already used
   548  ;INVALIDATE_REFRESH_TOKENS = false
   549  ;;
   550  ;; Maximum length of oauth2 token/cookie stored on server
   551  ;MAX_TOKEN_LENGTH = 32767
   552  ;;
   553  ;; Pre-register OAuth2 applications for some universally useful services
   554  ;; * https://github.com/hickford/git-credential-oauth
   555  ;; * https://github.com/git-ecosystem/git-credential-manager
   556  ;DEFAULT_APPLICATIONS = git-credential-oauth, git-credential-manager
   557  
   558  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   559  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   560  [log]
   561  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   562  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   563  ;; Root path for the log files - defaults to %(GITEA_WORK_DIR)/log
   564  ;ROOT_PATH =
   565  ;;
   566  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   567  ;; Main Logger
   568  ;;
   569  ;; Either "console", "file" or "conn", default is "console"
   570  ;; Use comma to separate multiple modes, e.g. "console, file"
   571  MODE = console
   572  ;;
   573  ;; Either "Trace", "Debug", "Info", "Warn", "Error" or "None", default is "Info"
   574  LEVEL = Info
   575  ;;
   576  ;; Print Stacktrace with logs (rarely helpful, do not set) Either "Trace", "Debug", "Info", "Warn", "Error", default is "None"
   577  ;STACKTRACE_LEVEL = None
   578  ;;
   579  ;; Buffer length of the channel, keep it as it is if you don't know what it is.
   580  ;BUFFER_LEN = 10000
   581  ;;
   582  ;; Sub logger modes, a single comma means use default MODE above, empty means disable it
   583  ;logger.access.MODE=
   584  ;logger.router.MODE=,
   585  ;logger.xorm.MODE=,
   586  ;;
   587  ;; Collect SSH logs (Creates log from ssh git request)
   588  ;;
   589  ;ENABLE_SSH_LOG = false
   590  ;;
   591  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   592  ;;
   593  ;; Access Logger (Creates log in NCSA common log format)
   594  ;;
   595  ;; Print request id which parsed from request headers in access log, when access log is enabled.
   596  ;; * E.g:
   597  ;; * In request Header:         X-Request-ID: test-id-123
   598  ;; * Configuration in app.ini:  REQUEST_ID_HEADERS = X-Request-ID
   599  ;; * Print in log:              127.0.0.1:58384 - - [14/Feb/2023:16:33:51 +0800] "test-id-123"
   600  ;;
   601  ;; If you configure more than one in the .ini file, it will match in the order of configuration,
   602  ;; and the first match will be finally printed in the log.
   603  ;; * E.g:
   604  ;; * In request Header:         X-Trace-ID: trace-id-1q2w3e4r
   605  ;; * Configuration in app.ini:  REQUEST_ID_HEADERS = X-Request-ID, X-Trace-ID, X-Req-ID
   606  ;; * Print in log:              127.0.0.1:58384 - - [14/Feb/2023:16:33:51 +0800] "trace-id-1q2w3e4r"
   607  ;;
   608  ;REQUEST_ID_HEADERS =
   609  ;;
   610  ;; Sets the template used to create the access log.
   611  ;ACCESS_LOG_TEMPLATE = {{.Ctx.RemoteHost}} - {{.Identity}} {{.Start.Format "[02/Jan/2006:15:04:05 -0700]" }} "{{.Ctx.Req.Method}} {{.Ctx.Req.URL.RequestURI}} {{.Ctx.Req.Proto}}" {{.ResponseWriter.Status}} {{.ResponseWriter.Size}} "{{.Ctx.Req.Referer}}" "{{.Ctx.Req.UserAgent}}"
   612  
   613  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   614  ;;
   615  ;; Log modes (aka log writers)
   616  ;;
   617  ;[log.%(WriterMode)]
   618  ;MODE=console/file/conn/...
   619  ;LEVEL=
   620  ;FLAGS = stdflags
   621  ;EXPRESSION =
   622  ;PREFIX =
   623  ;COLORIZE = false
   624  ;;
   625  ;[log.console]
   626  ;STDERR = false
   627  ;;
   628  ;[log.file]
   629  ;; Set the file_name for the logger. If this is a relative path this will be relative to ROOT_PATH
   630  ;FILE_NAME =
   631  ;; This enables automated log rotate(switch of following options), default is true
   632  ;LOG_ROTATE = true
   633  ;; Max size shift of a single file, default is 28 means 1 << 28, 256MB
   634  ;MAX_SIZE_SHIFT = 28
   635  ;; Segment log daily, default is true
   636  ;DAILY_ROTATE = true
   637  ;; delete the log file after n days, default is 7
   638  ;MAX_DAYS = 7
   639  ;; compress logs with gzip
   640  ;COMPRESS = true
   641  ;; compression level see godoc for compress/gzip
   642  ;COMPRESSION_LEVEL = -1
   643  ;;
   644  ;[log.conn]
   645  ;; Reconnect host for every single message, default is false
   646  ;RECONNECT_ON_MSG = false
   647  ;; Try to reconnect when connection is lost, default is false
   648  ;RECONNECT = false
   649  ;; Either "tcp", "unix" or "udp", default is "tcp"
   650  ;PROTOCOL = tcp
   651  ;; Host address
   652  ;ADDR =
   653  
   654  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   655  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   656  [git]
   657  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   658  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   659  ;;
   660  ;; The path of git executable. If empty, Gitea searches through the PATH environment.
   661  ;PATH =
   662  ;;
   663  ;; The HOME directory for Git
   664  ;HOME_PATH = %(APP_DATA_PATH)s/home
   665  ;;
   666  ;; Disables highlight of added and removed changes
   667  ;DISABLE_DIFF_HIGHLIGHT = false
   668  ;;
   669  ;; Max number of lines allowed in a single file in diff view
   670  ;MAX_GIT_DIFF_LINES = 1000
   671  ;;
   672  ;; Max number of allowed characters in a line in diff view
   673  ;MAX_GIT_DIFF_LINE_CHARACTERS = 5000
   674  ;;
   675  ;; Max number of files shown in diff view
   676  ;MAX_GIT_DIFF_FILES = 100
   677  ;;
   678  ;; Set the default commits range size
   679  ;COMMITS_RANGE_SIZE = 50
   680  ;;
   681  ;; Set the default branches range size
   682  ;BRANCHES_RANGE_SIZE = 20
   683  ;;
   684  ;; Arguments for command 'git gc', e.g. "--aggressive --auto"
   685  ;; see more on http://git-scm.com/docs/git-gc/
   686  ;GC_ARGS =
   687  ;;
   688  ;; If use git wire protocol version 2 when git version >= 2.18, default is true, set to false when you always want git wire protocol version 1
   689  ;; To enable this for Git over SSH when using a OpenSSH server, add `AcceptEnv GIT_PROTOCOL` to your sshd_config file.
   690  ;ENABLE_AUTO_GIT_WIRE_PROTOCOL = true
   691  ;;
   692  ;; Respond to pushes to a non-default branch with a URL for creating a Pull Request (if the repository has them enabled)
   693  ;PULL_REQUEST_PUSH_MESSAGE = true
   694  ;;
   695  ;; (Go-Git only) Don't cache objects greater than this in memory. (Set to 0 to disable.)
   696  ;LARGE_OBJECT_THRESHOLD = 1048576
   697  ;; Set to true to forcibly set core.protectNTFS=false
   698  ;DISABLE_CORE_PROTECT_NTFS=false
   699  ;; Disable the usage of using partial clones for git.
   700  ;DISABLE_PARTIAL_CLONE = false
   701  
   702  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   703  ;; Git Operation timeout in seconds
   704  ;[git.timeout]
   705  ;DEFAULT = 360
   706  ;MIGRATE = 600
   707  ;MIRROR = 300
   708  ;CLONE = 300
   709  ;PULL = 300
   710  ;GC = 60
   711  
   712  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   713  ;; Git config options
   714  ;; This section only does "set" config, a removed config key from this section won't be removed from git config automatically. The format is `some.configKey = value`.
   715  ;[git.config]
   716  ;diff.algorithm = histogram
   717  ;core.logAllRefUpdates = true
   718  ;gc.reflogExpire = 90
   719  
   720  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   721  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   722  [service]
   723  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   724  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   725  ;;
   726  ;; Time limit to confirm account/email registration
   727  ;ACTIVE_CODE_LIVE_MINUTES = 180
   728  ;;
   729  ;; Time limit to perform the reset of a forgotten password
   730  ;RESET_PASSWD_CODE_LIVE_MINUTES = 180
   731  ;;
   732  ;; Whether a new user needs to confirm their email when registering.
   733  ;REGISTER_EMAIL_CONFIRM = false
   734  ;;
   735  ;; Whether a new user needs to be confirmed manually after registration. (Requires `REGISTER_EMAIL_CONFIRM` to be disabled.)
   736  ;REGISTER_MANUAL_CONFIRM = false
   737  ;;
   738  ;; List of domain names that are allowed to be used to register on a Gitea instance, wildcard is supported
   739  ;; eg: gitea.io,example.com,*.mydomain.com
   740  ;EMAIL_DOMAIN_ALLOWLIST =
   741  ;;
   742  ;; Comma-separated list of domain names that are not allowed to be used to register on a Gitea instance, wildcard is supported
   743  ;EMAIL_DOMAIN_BLOCKLIST =
   744  ;;
   745  ;; Disallow registration, only allow admins to create accounts.
   746  ;DISABLE_REGISTRATION = false
   747  ;;
   748  ;; Allow registration only using gitea itself, it works only when DISABLE_REGISTRATION is false
   749  ;ALLOW_ONLY_INTERNAL_REGISTRATION = false
   750  ;;
   751  ;; Allow registration only using third-party services, it works only when DISABLE_REGISTRATION is false
   752  ;ALLOW_ONLY_EXTERNAL_REGISTRATION = false
   753  ;;
   754  ;; User must sign in to view anything.
   755  ;REQUIRE_SIGNIN_VIEW = false
   756  ;;
   757  ;; Mail notification
   758  ;ENABLE_NOTIFY_MAIL = false
   759  ;;
   760  ;; This setting enables gitea to be signed in with HTTP BASIC Authentication using the user's password
   761  ;; If you set this to false you will not be able to access the tokens endpoints on the API with your password
   762  ;; Please note that setting this to false will not disable OAuth Basic or Basic authentication using a token
   763  ;ENABLE_BASIC_AUTHENTICATION = true
   764  ;;
   765  ;; More detail: https://github.com/gogits/gogs/issues/165
   766  ;ENABLE_REVERSE_PROXY_AUTHENTICATION = false
   767  ; Enable this to allow reverse proxy authentication for API requests, the reverse proxy is responsible for ensuring that no CSRF is possible.
   768  ;ENABLE_REVERSE_PROXY_AUTHENTICATION_API = false
   769  ;ENABLE_REVERSE_PROXY_AUTO_REGISTRATION = false
   770  ;ENABLE_REVERSE_PROXY_EMAIL = false
   771  ;ENABLE_REVERSE_PROXY_FULL_NAME = false
   772  ;;
   773  ;; Enable captcha validation for registration
   774  ;ENABLE_CAPTCHA = false
   775  ;;
   776  ;; Enable this to require captcha validation for login
   777  ;REQUIRE_CAPTCHA_FOR_LOGIN = false
   778  ;;
   779  ;; Type of captcha you want to use. Options: image, recaptcha, hcaptcha, mcaptcha, cfturnstile.
   780  ;CAPTCHA_TYPE = image
   781  ;;
   782  ;; Change this to use recaptcha.net or other recaptcha service
   783  ;RECAPTCHA_URL = https://www.google.com/recaptcha/
   784  ;; Enable recaptcha to use Google's recaptcha service
   785  ;; Go to https://www.google.com/recaptcha/admin to sign up for a key
   786  ;RECAPTCHA_SECRET =
   787  ;RECAPTCHA_SITEKEY =
   788  ;;
   789  ;; For hCaptcha, create an account at https://accounts.hcaptcha.com/login to get your keys
   790  ;HCAPTCHA_SECRET =
   791  ;HCAPTCHA_SITEKEY =
   792  ;;
   793  ;; Change this to use demo.mcaptcha.org or your self-hosted mcaptcha.org instance.
   794  ;MCAPTCHA_URL = https://demo.mcaptcha.org
   795  ;;
   796  ;; Go to your configured mCaptcha instance and register a sitekey
   797  ;; and use your account's secret.
   798  ;MCAPTCHA_SECRET =
   799  ;MCAPTCHA_SITEKEY =
   800  ;;
   801  ;; Go to https://dash.cloudflare.com/?to=/:account/turnstile to sign up for a key
   802  ;CF_TURNSTILE_SITEKEY =
   803  ;CF_TURNSTILE_SECRET =
   804  ;;
   805  ;; Default value for KeepEmailPrivate
   806  ;; Each new user will get the value of this setting copied into their profile
   807  ;DEFAULT_KEEP_EMAIL_PRIVATE = false
   808  ;;
   809  ;; Default value for AllowCreateOrganization
   810  ;; Every new user will have rights set to create organizations depending on this setting
   811  ;DEFAULT_ALLOW_CREATE_ORGANIZATION = true
   812  ;; Default value for IsRestricted
   813  ;; Every new user will have restricted permissions depending on this setting
   814  ;DEFAULT_USER_IS_RESTRICTED = false
   815  ;;
   816  ;; Either "public", "limited" or "private", default is "public"
   817  ;; Limited is for users visible only to signed users
   818  ;; Private is for users visible only to members of their organizations
   819  ;; Public is for users visible for everyone
   820  ;DEFAULT_USER_VISIBILITY = public
   821  ;;
   822  ;; Set which visibility modes a user can have
   823  ;ALLOWED_USER_VISIBILITY_MODES = public,limited,private
   824  ;;
   825  ;; Either "public", "limited" or "private", default is "public"
   826  ;; Limited is for organizations visible only to signed users
   827  ;; Private is for organizations visible only to members of the organization
   828  ;; Public is for organizations visible to everyone
   829  ;DEFAULT_ORG_VISIBILITY = public
   830  ;;
   831  ;; Default value for DefaultOrgMemberVisible
   832  ;; True will make the membership of the users visible when added to the organisation
   833  ;DEFAULT_ORG_MEMBER_VISIBLE = false
   834  ;;
   835  ;; Default value for EnableDependencies
   836  ;; Repositories will use dependencies by default depending on this setting
   837  ;DEFAULT_ENABLE_DEPENDENCIES = true
   838  ;;
   839  ;; Dependencies can be added from any repository where the user is granted access or only from the current repository depending on this setting.
   840  ;ALLOW_CROSS_REPOSITORY_DEPENDENCIES = true
   841  ;;
   842  ;; Default map service. No external API support has been included. A service has to allow
   843  ;; searching using URL parameters, the location will be appended to the URL as escaped query parameter.
   844  ;; Disabled by default, some example values are:
   845  ;; - OpenStreetMap: https://www.openstreetmap.org/search?query=
   846  ;; - Google Maps: https://www.google.com/maps/place/
   847  ;; - MapQuest: https://www.mapquest.com/search/
   848  ;; - Bing Maps: https://www.bing.com/maps?where1=
   849  ; USER_LOCATION_MAP_URL =
   850  ;;
   851  ;; Enable heatmap on users profiles.
   852  ;ENABLE_USER_HEATMAP = true
   853  ;;
   854  ;; Enable Timetracking
   855  ;ENABLE_TIMETRACKING = true
   856  ;;
   857  ;; Default value for EnableTimetracking
   858  ;; Repositories will use timetracking by default depending on this setting
   859  ;DEFAULT_ENABLE_TIMETRACKING = true
   860  ;;
   861  ;; Default value for AllowOnlyContributorsToTrackTime
   862  ;; Only users with write permissions can track time if this is true
   863  ;DEFAULT_ALLOW_ONLY_CONTRIBUTORS_TO_TRACK_TIME = true
   864  ;;
   865  ;; Value for the domain part of the user's email address in the git log if user
   866  ;; has set KeepEmailPrivate to true. The user's email will be replaced with a
   867  ;; concatenation of the user name in lower case, "@" and NO_REPLY_ADDRESS. Default
   868  ;; value is "noreply." + DOMAIN, where DOMAIN resolves to the value from server.DOMAIN
   869  ;; Note: do not use the <DOMAIN> notation below
   870  ;NO_REPLY_ADDRESS = ; noreply.<DOMAIN>
   871  ;;
   872  ;; Show Registration button
   873  ;SHOW_REGISTRATION_BUTTON = true
   874  ;;
   875  ;; Show milestones dashboard page - a view of all the user's milestones
   876  ;SHOW_MILESTONES_DASHBOARD_PAGE = true
   877  ;;
   878  ;; Default value for AutoWatchNewRepos
   879  ;; When adding a repo to a team or creating a new repo all team members will watch the
   880  ;; repo automatically if enabled
   881  ;AUTO_WATCH_NEW_REPOS = true
   882  ;;
   883  ;; Default value for AutoWatchOnChanges
   884  ;; Make the user watch a repository When they commit for the first time
   885  ;AUTO_WATCH_ON_CHANGES = false
   886  ;;
   887  ;; Minimum amount of time a user must exist before comments are kept when the user is deleted.
   888  ;USER_DELETE_WITH_COMMENTS_MAX_TIME = 0
   889  ;; Valid site url schemes for user profiles
   890  ;VALID_SITE_URL_SCHEMES=http,https
   891  
   892  
   893  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   894  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   895  ;; Other Settings
   896  ;;
   897  ;; Uncomment the [section.header] if you wish to
   898  ;; set the below settings.
   899  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   900  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   901  
   902  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   903  ;[repository]
   904  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   905  ;; Root path for storing all repository data. By default, it is set to %(APP_DATA_PATH)s/gitea-repositories.
   906  ;; A relative path is interpreted as _`AppWorkPath`_/%(ROOT)s
   907  ;ROOT =
   908  ;;
   909  ;; The script type this server supports. Usually this is `bash`, but some users report that only `sh` is available.
   910  ;SCRIPT_TYPE = bash
   911  ;;
   912  ;; DETECTED_CHARSETS_ORDER tie-break order for detected charsets.
   913  ;; If the charsets have equal confidence, tie-breaking will be done by order in this list
   914  ;; with charsets earlier in the list chosen in preference to those later.
   915  ;; Adding "defaults" will place the unused charsets at that position.
   916  ;DETECTED_CHARSETS_ORDER = UTF-8, UTF-16BE, UTF-16LE, UTF-32BE, UTF-32LE, ISO-8859, windows-1252, ISO-8859, windows-1250, ISO-8859, ISO-8859, ISO-8859, windows-1253, ISO-8859, windows-1255, ISO-8859, windows-1251, windows-1256, KOI8-R, ISO-8859, windows-1254, Shift_JIS, GB18030, EUC-JP, EUC-KR, Big5, ISO-2022, ISO-2022, ISO-2022, IBM424_rtl, IBM424_ltr, IBM420_rtl, IBM420_ltr
   917  ;;
   918  ;; Default ANSI charset to override non-UTF-8 charsets to
   919  ;ANSI_CHARSET =
   920  ;;
   921  ;; Force every new repository to be private
   922  ;FORCE_PRIVATE = false
   923  ;;
   924  ;; Default privacy setting when creating a new repository, allowed values: last, private, public. Default is last which means the last setting used.
   925  ;DEFAULT_PRIVATE = last
   926  ;;
   927  ;; Default private when using push-to-create
   928  ;DEFAULT_PUSH_CREATE_PRIVATE = true
   929  ;;
   930  ;; Global limit of repositories per user, applied at creation time. -1 means no limit
   931  ;MAX_CREATION_LIMIT = -1
   932  ;;
   933  ;; Preferred Licenses to place at the top of the List
   934  ;; The name here must match the filename in options/license or custom/options/license
   935  ;PREFERRED_LICENSES = Apache License 2.0,MIT License
   936  ;;
   937  ;; Disable the ability to interact with repositories using the HTTP protocol
   938  ;DISABLE_HTTP_GIT = false
   939  ;;
   940  ;; Value for Access-Control-Allow-Origin header, default is not to present
   941  ;; WARNING: This may be harmful to your website if you do not give it a right value.
   942  ;ACCESS_CONTROL_ALLOW_ORIGIN =
   943  ;;
   944  ;; Force ssh:// clone url instead of scp-style uri when default SSH port is used
   945  ;USE_COMPAT_SSH_URI = false
   946  ;;
   947  ;; Value for the "go get" request returns the repository url as https or ssh, default is https
   948  ;GO_GET_CLONE_URL_PROTOCOL = https
   949  ;;
   950  ;; Close issues as long as a commit on any branch marks it as fixed
   951  ;; Comma separated list of globally disabled repo units. Allowed values: repo.issues, repo.ext_issues, repo.pulls, repo.wiki, repo.ext_wiki, repo.projects, repo.packages, repo.actions.
   952  ;DISABLED_REPO_UNITS =
   953  ;;
   954  ;; Comma separated list of default new repo units. Allowed values: repo.code, repo.releases, repo.issues, repo.pulls, repo.wiki, repo.projects, repo.packages, repo.actions.
   955  ;; Note: Code and Releases can currently not be deactivated. If you specify default repo units you should still list them for future compatibility.
   956  ;; External wiki and issue tracker can't be enabled by default as it requires additional settings.
   957  ;; Disabled repo units will not be added to new repositories regardless if it is in the default list.
   958  ;DEFAULT_REPO_UNITS = repo.code,repo.releases,repo.issues,repo.pulls,repo.wiki,repo.projects,repo.packages
   959  ;;
   960  ;; Comma separated list of default forked repo units.
   961  ;; The set of allowed values and rules are the same as DEFAULT_REPO_UNITS.
   962  ;DEFAULT_FORK_REPO_UNITS = repo.code,repo.pulls
   963  ;;
   964  ;; Prefix archive files by placing them in a directory named after the repository
   965  ;PREFIX_ARCHIVE_FILES = true
   966  ;;
   967  ;; Disable migrating feature.
   968  ;DISABLE_MIGRATIONS = false
   969  ;;
   970  ;; Disable stars feature.
   971  ;DISABLE_STARS = false
   972  ;;
   973  ;; The default branch name of new repositories
   974  ;DEFAULT_BRANCH = main
   975  ;;
   976  ;; Allow adoption of unadopted repositories
   977  ;ALLOW_ADOPTION_OF_UNADOPTED_REPOSITORIES = false
   978  ;;
   979  ;; Allow deletion of unadopted repositories
   980  ;ALLOW_DELETION_OF_UNADOPTED_REPOSITORIES = false
   981  
   982  ;; Don't allow download source archive files from UI
   983  ;DISABLE_DOWNLOAD_SOURCE_ARCHIVES = false
   984  
   985  ;; Allow fork repositories without maximum number limit
   986  ;ALLOW_FORK_WITHOUT_MAXIMUM_LIMIT = true
   987  
   988  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   989  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   990  ;[repository.editor]
   991  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   992  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   993  ;;
   994  ;; List of file extensions for which lines should be wrapped in the Monaco editor
   995  ;; Separate extensions with a comma. To line wrap files without an extension, just put a comma
   996  ;LINE_WRAP_EXTENSIONS = .txt,.md,.markdown,.mdown,.mkd,.livemd,
   997  
   998  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   999  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1000  ;[repository.local]
  1001  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1002  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1003  ;;
  1004  ;; Path for local repository copy. Defaults to `tmp/local-repo` (content gets deleted on gitea restart)
  1005  ;LOCAL_COPY_PATH = tmp/local-repo
  1006  
  1007  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1008  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1009  ;[repository.upload]
  1010  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1011  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1012  ;;
  1013  ;; Whether repository file uploads are enabled. Defaults to `true`
  1014  ;ENABLED = true
  1015  ;;
  1016  ;; Path for uploads. Defaults to `data/tmp/uploads` (content gets deleted on gitea restart)
  1017  ;TEMP_PATH = data/tmp/uploads
  1018  ;;
  1019  ;; Comma-separated list of allowed file extensions (`.zip`), mime types (`text/plain`) or wildcard type (`image/*`, `audio/*`, `video/*`). Empty value or `*/*` allows all types.
  1020  ;ALLOWED_TYPES =
  1021  ;;
  1022  ;; Max size of each file in megabytes. Defaults to 50MB
  1023  ;FILE_MAX_SIZE = 50 
  1024  ;;
  1025  ;; Max number of files per upload. Defaults to 5
  1026  ;MAX_FILES = 5
  1027  
  1028  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1029  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1030  ;[repository.pull-request]
  1031  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1032  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1033  ;;
  1034  ;; List of prefixes used in Pull Request title to mark them as Work In Progress (matched in a case-insensitive manner)
  1035  ;WORK_IN_PROGRESS_PREFIXES = WIP:,[WIP]
  1036  ;;
  1037  ;; List of keywords used in Pull Request comments to automatically close a related issue
  1038  ;CLOSE_KEYWORDS = close,closes,closed,fix,fixes,fixed,resolve,resolves,resolved
  1039  ;;
  1040  ;; List of keywords used in Pull Request comments to automatically reopen a related issue
  1041  ;REOPEN_KEYWORDS = reopen,reopens,reopened
  1042  ;;
  1043  ;; Set default merge style for repository creating, valid options: merge, rebase, rebase-merge, squash
  1044  ;DEFAULT_MERGE_STYLE = merge
  1045  ;;
  1046  ;; In the default merge message for squash commits include at most this many commits
  1047  ;DEFAULT_MERGE_MESSAGE_COMMITS_LIMIT = 50
  1048  ;;
  1049  ;; In the default merge message for squash commits limit the size of the commit messages to this
  1050  ;DEFAULT_MERGE_MESSAGE_SIZE = 5120
  1051  ;;
  1052  ;; In the default merge message for squash commits walk all commits to include all authors in the Co-authored-by otherwise just use those in the limited list
  1053  ;DEFAULT_MERGE_MESSAGE_ALL_AUTHORS = false
  1054  ;;
  1055  ;; In default merge messages limit the number of approvers listed as Reviewed-by: to this many
  1056  ;DEFAULT_MERGE_MESSAGE_MAX_APPROVERS = 10
  1057  ;;
  1058  ;; In default merge messages only include approvers who are official
  1059  ;DEFAULT_MERGE_MESSAGE_OFFICIAL_APPROVERS_ONLY = true
  1060  ;;
  1061  ;; Add co-authored-by and co-committed-by trailers if committer does not match author
  1062  ;ADD_CO_COMMITTER_TRAILERS = true
  1063  ;;
  1064  ;; In addition to testing patches using the three-way merge method, re-test conflicting patches with git apply
  1065  ;TEST_CONFLICTING_PATCHES_WITH_GIT_APPLY = false
  1066  
  1067  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1068  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1069  ;[repository.issue]
  1070  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1071  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1072  ;; List of reasons why a Pull Request or Issue can be locked
  1073  ;LOCK_REASONS = Too heated,Off-topic,Resolved,Spam
  1074  ;; Maximum number of pinned Issues per repo
  1075  ;; Set to 0 to disable pinning Issues
  1076  ;MAX_PINNED = 3
  1077  
  1078  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1079  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1080  ;[repository.release]
  1081  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1082  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1083  ;; Comma-separated list of allowed file extensions (`.zip`), mime types (`text/plain`) or wildcard type (`image/*`, `audio/*`, `video/*`). Empty value or `*/*` allows all types.
  1084  ;ALLOWED_TYPES =
  1085  ;DEFAULT_PAGING_NUM = 10
  1086  
  1087  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1088  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1089  ;[repository.signing]
  1090  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1091  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1092  ;;
  1093  ;; GPG key to use to sign commits, Defaults to the default - that is the value of git config --get user.signingkey
  1094  ;; run in the context of the RUN_USER
  1095  ;; Switch to none to stop signing completely
  1096  ;SIGNING_KEY = default
  1097  ;;
  1098  ;; If a SIGNING_KEY ID is provided and is not set to default, use the provided Name and Email address as the signer.
  1099  ;; These should match a publicized name and email address for the key. (When SIGNING_KEY is default these are set to
  1100  ;; the results of git config --get user.name and git config --get user.email respectively and can only be overridden
  1101  ;; by setting the SIGNING_KEY ID to the correct ID.)
  1102  ;SIGNING_NAME =
  1103  ;SIGNING_EMAIL =
  1104  ;;
  1105  ;; Sets the default trust model for repositories. Options are: collaborator, committer, collaboratorcommitter
  1106  ;DEFAULT_TRUST_MODEL = collaborator
  1107  ;;
  1108  ;; Determines when gitea should sign the initial commit when creating a repository
  1109  ;; Either:
  1110  ;; - never
  1111  ;; - pubkey: only sign if the user has a pubkey
  1112  ;; - twofa: only sign if the user has logged in with twofa
  1113  ;; - always
  1114  ;; options other than none and always can be combined as comma separated list
  1115  ;INITIAL_COMMIT = always
  1116  ;;
  1117  ;; Determines when to sign for CRUD actions
  1118  ;; - as above
  1119  ;; - parentsigned: requires that the parent commit is signed.
  1120  ;CRUD_ACTIONS = pubkey, twofa, parentsigned
  1121  ;; Determines when to sign Wiki commits
  1122  ;; - as above
  1123  ;WIKI = never
  1124  ;;
  1125  ;; Determines when to sign on merges
  1126  ;; - basesigned: require that the parent of commit on the base repo is signed.
  1127  ;; - commitssigned: require that all the commits in the head branch are signed.
  1128  ;; - approved: only sign when merging an approved pr to a protected branch
  1129  ;MERGES = pubkey, twofa, basesigned, commitssigned
  1130  
  1131  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1132  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1133  ;[repository.mimetype_mapping]
  1134  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1135  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1136  ;;
  1137  ;; Custom MIME type mapping for downloadable files
  1138  ;.apk=application/vnd.android.package-archive
  1139  
  1140  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1141  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1142  ;[project]
  1143  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1144  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1145  ;; Default templates for project boards
  1146  ;PROJECT_BOARD_BASIC_KANBAN_TYPE = To Do, In Progress, Done
  1147  ;PROJECT_BOARD_BUG_TRIAGE_TYPE = Needs Triage, High Priority, Low Priority, Closed
  1148  
  1149  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1150  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1151  ;[cors]
  1152  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1153  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1154  ;;
  1155  ;; More information about CORS can be found here: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#The_HTTP_response_headers
  1156  ;; enable cors headers (disabled by default)
  1157  ;ENABLED = false
  1158  ;;
  1159  ;; list of requesting origins that are allowed, eg: "https://*.example.com"
  1160  ;ALLOW_DOMAIN = *
  1161  ;;
  1162  ;; list of methods allowed to request
  1163  ;METHODS = GET,HEAD,POST,PUT,PATCH,DELETE,OPTIONS
  1164  ;;
  1165  ;; max time to cache response
  1166  ;MAX_AGE = 10m
  1167  ;;
  1168  ;; allow request with credentials
  1169  ;ALLOW_CREDENTIALS = false
  1170  ;;
  1171  ;; headers to permit
  1172  ;HEADERS = Content-Type,User-Agent
  1173  ;;
  1174  ;; set X-FRAME-OPTIONS header
  1175  ;X_FRAME_OPTIONS = SAMEORIGIN
  1176  
  1177  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1178  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1179  ;[ui]
  1180  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1181  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1182  ;;
  1183  ;; Number of repositories that are displayed on one explore page
  1184  ;EXPLORE_PAGING_NUM = 20
  1185  ;;
  1186  ;; Number of issues that are displayed on one page
  1187  ;ISSUE_PAGING_NUM = 20
  1188  ;;
  1189  ;; Number of maximum commits displayed in one activity feed
  1190  ;FEED_MAX_COMMIT_NUM = 5
  1191  ;;
  1192  ;; Number of items that are displayed in home feed
  1193  ;FEED_PAGING_NUM = 20
  1194  ;;
  1195  ;; Number of items that are displayed in a single subsitemap
  1196  ;SITEMAP_PAGING_NUM = 20
  1197  ;;
  1198  ;; Number of maximum commits displayed in commit graph.
  1199  ;GRAPH_MAX_COMMIT_NUM = 100
  1200  ;;
  1201  ;; Number of line of codes shown for a code comment
  1202  ;CODE_COMMENT_LINES = 4
  1203  ;;
  1204  ;; Max size of files to be displayed (default is 8MiB)
  1205  ;MAX_DISPLAY_FILE_SIZE = 8388608
  1206  ;;
  1207  ;; Detect ambiguous unicode characters in file contents and show warnings on the UI
  1208  ;AMBIGUOUS_UNICODE_DETECTION = true
  1209  ;;
  1210  ;; Whether the email of the user should be shown in the Explore Users page
  1211  ;SHOW_USER_EMAIL = true
  1212  ;;
  1213  ;; Set the default theme for the Gitea install
  1214  ;DEFAULT_THEME = auto
  1215  ;;
  1216  ;; All available themes. Allow users select personalized themes regardless of the value of `DEFAULT_THEME`.
  1217  ;THEMES = auto,gitea,arc-green
  1218  ;;
  1219  ;; All available reactions users can choose on issues/prs and comments.
  1220  ;; Values can be emoji alias (:smile:) or a unicode emoji.
  1221  ;; For custom reactions, add a tightly cropped square image to public/assets/img/emoji/reaction_name.png
  1222  ;REACTIONS = +1, -1, laugh, hooray, confused, heart, rocket, eyes
  1223  ;;
  1224  ;; Change the number of users that are displayed in reactions tooltip (triggered by mouse hover).
  1225  ;REACTION_MAX_USER_NUM = 10
  1226  ;;
  1227  ;; Additional Emojis not defined in the utf8 standard
  1228  ;; By default we support gitea (:gitea:), to add more copy them to public/assets/img/emoji/emoji_name.png and add it to this config.
  1229  ;; Dont mistake it for Reactions.
  1230  ;CUSTOM_EMOJIS = gitea, codeberg, gitlab, git, github, gogs
  1231  ;;
  1232  ;; Whether the full name of the users should be shown where possible. If the full name isn't set, the username will be used.
  1233  ;DEFAULT_SHOW_FULL_NAME = false
  1234  ;;
  1235  ;; Whether to search within description at repository search on explore page.
  1236  ;SEARCH_REPO_DESCRIPTION = true
  1237  ;;
  1238  ;; Whether to only show relevant repos on the explore page when no keyword is specified and default sorting is used.
  1239  ;; A repo is considered irrelevant if it's a fork or if it has no metadata (no description, no icon, no topic).
  1240  ;ONLY_SHOW_RELEVANT_REPOS = false
  1241  
  1242  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1243  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1244  ;[ui.admin]
  1245  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1246  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1247  ;;
  1248  ;; Number of users that are displayed on one page
  1249  ;USER_PAGING_NUM = 50
  1250  ;;
  1251  ;; Number of repos that are displayed on one page
  1252  ;REPO_PAGING_NUM = 50
  1253  ;;
  1254  ;; Number of notices that are displayed on one page
  1255  ;NOTICE_PAGING_NUM = 25
  1256  ;;
  1257  ;; Number of organizations that are displayed on one page
  1258  ;ORG_PAGING_NUM = 50
  1259  
  1260  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1261  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1262  ;[ui.user]
  1263  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1264  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1265  ;; Number of repos that are displayed on one page
  1266  ;REPO_PAGING_NUM = 15
  1267  
  1268  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1269  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1270  ;[ui.meta]
  1271  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1272  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1273  ;AUTHOR = Gitea - Git with a cup of tea
  1274  ;DESCRIPTION = Gitea (Git with a cup of tea) is a painless self-hosted Git service written in Go
  1275  ;KEYWORDS = go,git,self-hosted,gitea
  1276  
  1277  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1278  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1279  ;[ui.notification]
  1280  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1281  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1282  ;;
  1283  ;; Control how often the notification endpoint is polled to update the notification
  1284  ;; The timeout will increase to MAX_TIMEOUT in TIMEOUT_STEPs if the notification count is unchanged
  1285  ;; Set MIN_TIMEOUT to -1 to turn off
  1286  ;MIN_TIMEOUT = 10s
  1287  ;MAX_TIMEOUT = 60s
  1288  ;TIMEOUT_STEP = 10s
  1289  ;;
  1290  ;; This setting determines how often the db is queried to get the latest notification counts.
  1291  ;; If the browser client supports EventSource and SharedWorker, a SharedWorker will be used in preference to polling notification. Set to -1 to disable the EventSource
  1292  ;EVENT_SOURCE_UPDATE_TIME = 10s
  1293  
  1294  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1295  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1296  ;[ui.svg]
  1297  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1298  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1299  ;;
  1300  ;; Whether to render SVG files as images.  If SVG rendering is disabled, SVG files are displayed as text and cannot be embedded in markdown files as images.
  1301  ;ENABLE_RENDER = true
  1302  
  1303  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1304  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1305  ;[ui.csv]
  1306  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1307  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1308  ;;
  1309  ;; Maximum allowed file size in bytes to render CSV files as table. (Set to 0 for no limit).
  1310  ;MAX_FILE_SIZE = 524288
  1311  
  1312  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1313  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1314  ;[markdown]
  1315  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1316  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1317  ;;
  1318  ;; Render soft line breaks as hard line breaks, which means a single newline character between
  1319  ;; paragraphs will cause a line break and adding trailing whitespace to paragraphs is not
  1320  ;; necessary to force a line break.
  1321  ;; Render soft line breaks as hard line breaks for comments
  1322  ;ENABLE_HARD_LINE_BREAK_IN_COMMENTS = true
  1323  ;;
  1324  ;; Render soft line breaks as hard line breaks for markdown documents
  1325  ;ENABLE_HARD_LINE_BREAK_IN_DOCUMENTS = false
  1326  ;;
  1327  ;; Comma separated list of custom URL-Schemes that are allowed as links when rendering Markdown
  1328  ;; for example git,magnet,ftp (more at https://en.wikipedia.org/wiki/List_of_URI_schemes)
  1329  ;; URLs starting with http and https are always displayed, whatever is put in this entry.
  1330  ;; If this entry is empty, all URL schemes are allowed.
  1331  ;CUSTOM_URL_SCHEMES =
  1332  ;;
  1333  ;; List of file extensions that should be rendered/edited as Markdown
  1334  ;; Separate the extensions with a comma. To render files without any extension as markdown, just put a comma
  1335  ;FILE_EXTENSIONS = .md,.markdown,.mdown,.mkd,.livemd
  1336  ;;
  1337  ;; Enables math inline and block detection
  1338  ;ENABLE_MATH = true
  1339  
  1340  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1341  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1342  ;[ssh.minimum_key_sizes]
  1343  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1344  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1345  ;;
  1346  ;; Define allowed algorithms and their minimum key length (use -1 to disable a type)
  1347  ;ED25519 = 256
  1348  ;ECDSA = 256
  1349  ;RSA = 3071 ; we allow 3071 here because an otherwise valid 3072 bit RSA key can be reported as having 3071 bit length
  1350  ;DSA = -1 ; set to 1024 to switch on
  1351  
  1352  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1353  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1354  ;[indexer]
  1355  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1356  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1357  ;;
  1358  ;; Issue Indexer settings
  1359  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1360  ;;
  1361  ;; Issue indexer type, currently support: bleve, db, elasticsearch or meilisearch default is bleve
  1362  ;ISSUE_INDEXER_TYPE = bleve
  1363  ;;
  1364  ;; Issue indexer storage path, available when ISSUE_INDEXER_TYPE is bleve
  1365  ;ISSUE_INDEXER_PATH = indexers/issues.bleve ; Relative paths will be made absolute against _`AppWorkPath`_.
  1366  ;;
  1367  ;; Issue indexer connection string, available when ISSUE_INDEXER_TYPE is elasticsearch (e.g. http://elastic:password@localhost:9200) or meilisearch (e.g. http://:apikey@localhost:7700)
  1368  ;ISSUE_INDEXER_CONN_STR =
  1369  ;;
  1370  ;; Issue indexer name, available when ISSUE_INDEXER_TYPE is elasticsearch or meilisearch.
  1371  ;ISSUE_INDEXER_NAME = gitea_issues
  1372  ;;
  1373  ;; Timeout the indexer if it takes longer than this to start.
  1374  ;; Set to -1 to disable timeout.
  1375  ;STARTUP_TIMEOUT = 30s
  1376  ;;
  1377  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1378  ;; Repository Indexer settings
  1379  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1380  ;;
  1381  ;; repo indexer by default disabled, since it uses a lot of disk space
  1382  ;REPO_INDEXER_ENABLED = false
  1383  ;;
  1384  ;; repo indexer units, the items to index, could be `sources`, `forks`, `mirrors`, `templates` or any combination of them separated by a comma.
  1385  ;; If empty then it defaults to `sources` only, as if you'd like to disable fully please see REPO_INDEXER_ENABLED.
  1386  ;REPO_INDEXER_REPO_TYPES = sources,forks,mirrors,templates
  1387  ;;
  1388  ;; Code search engine type, could be `bleve` or `elasticsearch`.
  1389  ;REPO_INDEXER_TYPE = bleve
  1390  ;;
  1391  ;; Index file used for code search. available when `REPO_INDEXER_TYPE` is bleve
  1392  ;REPO_INDEXER_PATH = indexers/repos.bleve
  1393  ;;
  1394  ;; Code indexer connection string, available when `REPO_INDEXER_TYPE` is elasticsearch. i.e. http://elastic:changeme@localhost:9200
  1395  ;REPO_INDEXER_CONN_STR =
  1396  ;;
  1397  ;; Code indexer name, available when `REPO_INDEXER_TYPE` is elasticsearch
  1398  ;REPO_INDEXER_NAME = gitea_codes
  1399  ;;
  1400  ;; A comma separated list of glob patterns (see https://github.com/gobwas/glob) to include
  1401  ;; in the index; default is empty
  1402  ;REPO_INDEXER_INCLUDE =
  1403  ;;
  1404  ;; A comma separated list of glob patterns to exclude from the index; ; default is empty
  1405  ;REPO_INDEXER_EXCLUDE =
  1406  ;;
  1407  ;MAX_FILE_SIZE = 1048576
  1408  
  1409  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1410  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1411  ;[queue]
  1412  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1413  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1414  ;;
  1415  ;; Specific queues can be individually configured with [queue.name]. [queue] provides defaults
  1416  ;; ([queue.issue_indexer] is special due to the old configuration described above)
  1417  ;;
  1418  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1419  ;;
  1420  ;; General queue queue type, currently support: persistable-channel, channel, level, redis, dummy
  1421  ;; default to persistable-channel
  1422  ;TYPE = persistable-channel
  1423  ;;
  1424  ;; data-dir for storing persistable queues and level queues, individual queues will default to `queues/common` meaning the queue is shared.
  1425  ;DATADIR = queues/ ; Relative paths will be made absolute against `%(APP_DATA_PATH)s`.
  1426  ;;
  1427  ;; Default queue length before a channel queue will block
  1428  ;LENGTH = 100000
  1429  ;;
  1430  ;; Batch size to send for batched queues
  1431  ;BATCH_LENGTH = 20
  1432  ;;
  1433  ;; Connection string for redis queues this will store the redis or redis-cluster connection string.
  1434  ;; When `TYPE` is `persistable-channel`, this provides a directory for the underlying leveldb
  1435  ;; or additional options of the form `leveldb://path/to/db?option=value&....`, and will override `DATADIR`.
  1436  ;CONN_STR = "redis://127.0.0.1:6379/0"
  1437  ;;
  1438  ;; Provides the suffix of the default redis/disk queue name - specific queues can be overridden within in their [queue.name] sections.
  1439  ;QUEUE_NAME = "_queue"
  1440  ;;
  1441  ;; Provides the suffix of the default redis/disk unique queue set name - specific queues can be overridden within in their [queue.name] sections.
  1442  ;SET_NAME = "_unique"
  1443  ;;
  1444  ;; Maximum number of worker go-routines for the queue. Default value is "CpuNum/2" clipped to between 1 and 10.
  1445  ;MAX_WORKERS = ; (dynamic)
  1446  
  1447  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1448  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1449  ;[admin]
  1450  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1451  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1452  ;;
  1453  ;; Disallow regular (non-admin) users from creating organizations.
  1454  ;DISABLE_REGULAR_ORG_CREATION = false
  1455  ;;
  1456  ;; Default configuration for email notifications for users (user configurable). Options: enabled, onmention, disabled
  1457  ;DEFAULT_EMAIL_NOTIFICATIONS = enabled
  1458  
  1459  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1460  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1461  ;[openid]
  1462  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1463  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1464  ;;
  1465  ;; OpenID is an open, standard and decentralized authentication protocol.
  1466  ;; Your identity is the address of a webpage you provide, which describes
  1467  ;; how to prove you are in control of that page.
  1468  ;;
  1469  ;; For more info: https://en.wikipedia.org/wiki/OpenID
  1470  ;;
  1471  ;; Current implementation supports OpenID-2.0
  1472  ;;
  1473  ;; Tested to work providers at the time of writing:
  1474  ;;  - Any GNUSocial node (your.hostname.tld/username)
  1475  ;;  - Any SimpleID provider (http://simpleid.koinic.net)
  1476  ;;  - http://openid.org.cn/
  1477  ;;  - openid.stackexchange.com
  1478  ;;  - login.launchpad.net
  1479  ;;  - <username>.livejournal.com
  1480  ;;
  1481  ;; Whether to allow signin in via OpenID
  1482  ;ENABLE_OPENID_SIGNIN = true
  1483  ;;
  1484  ;; Whether to allow registering via OpenID
  1485  ;; Do not include to rely on rhw DISABLE_REGISTRATION setting
  1486  ;;ENABLE_OPENID_SIGNUP = true
  1487  ;;
  1488  ;; Allowed URI patterns (POSIX regexp).
  1489  ;; Space separated.
  1490  ;; Only these would be allowed if non-blank.
  1491  ;; Example value: trusted.domain.org trusted.domain.net
  1492  ;WHITELISTED_URIS =
  1493  ;;
  1494  ;; Forbidden URI patterns (POSIX regexp).
  1495  ;; Space separated.
  1496  ;; Only used if WHITELISTED_URIS is blank.
  1497  ;; Example value: loadaverage.org/badguy stackexchange.com/.*spammer
  1498  ;BLACKLISTED_URIS =
  1499  
  1500  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1501  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1502  ;[oauth2_client]
  1503  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1504  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1505  ;;
  1506  ;; Whether a new auto registered oauth2 user needs to confirm their email.
  1507  ;; Do not include to use the REGISTER_EMAIL_CONFIRM setting from the `[service]` section.
  1508  ;REGISTER_EMAIL_CONFIRM =
  1509  ;;
  1510  ;; Scopes for the openid connect oauth2 provider (separated by space, the openid scope is implicitly added).
  1511  ;; Typical values are profile and email.
  1512  ;; For more information about the possible values see https://openid.net/specs/openid-connect-core-1_0.html#ScopeClaims
  1513  ;OPENID_CONNECT_SCOPES =
  1514  ;;
  1515  ;; Automatically create user accounts for new oauth2 users.
  1516  ;ENABLE_AUTO_REGISTRATION = false
  1517  ;;
  1518  ;; The source of the username for new oauth2 accounts:
  1519  ;; userid = use the userid / sub attribute
  1520  ;; nickname = use the nickname attribute
  1521  ;; email = use the username part of the email attribute
  1522  ;USERNAME = nickname
  1523  ;;
  1524  ;; Update avatar if available from oauth2 provider.
  1525  ;; Update will be performed on each login.
  1526  ;UPDATE_AVATAR = false
  1527  ;;
  1528  ;; How to handle if an account / email already exists:
  1529  ;; disabled = show an error
  1530  ;; login = show an account linking login
  1531  ;; auto = link directly with the account
  1532  ;ACCOUNT_LINKING = login
  1533  
  1534  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1535  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1536  ;[webhook]
  1537  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1538  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1539  ;;
  1540  ;; Hook task queue length, increase if webhook shooting starts hanging
  1541  ;QUEUE_LENGTH = 1000
  1542  ;;
  1543  ;; Deliver timeout in seconds
  1544  ;DELIVER_TIMEOUT = 5
  1545  ;;
  1546  ;; Webhook can only call allowed hosts for security reasons. Comma separated list, eg: external, 192.168.1.0/24, *.mydomain.com
  1547  ;; Built-in: loopback (for localhost), private (for LAN/intranet), external (for public hosts on internet), * (for all hosts)
  1548  ;; CIDR list: 1.2.3.0/8, 2001:db8::/32
  1549  ;; Wildcard hosts: *.mydomain.com, 192.168.100.*
  1550  ;; Since 1.15.7. Default to * for 1.15.x, external for 1.16 and later
  1551  ;ALLOWED_HOST_LIST = external
  1552  ;;
  1553  ;; Allow insecure certification
  1554  ;SKIP_TLS_VERIFY = false
  1555  ;;
  1556  ;; Number of history information in each page
  1557  ;PAGING_NUM = 10
  1558  ;;
  1559  ;; Proxy server URL, support http://, https//, socks://, blank will follow environment http_proxy/https_proxy
  1560  ;PROXY_URL =
  1561  ;;
  1562  ;; Comma separated list of host names requiring proxy. Glob patterns (*) are accepted; use ** to match all hosts.
  1563  ;PROXY_HOSTS =
  1564  
  1565  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1566  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1567  ;[mailer]
  1568  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1569  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1570  ;;
  1571  ;; NOTICE: this section is for Gitea 1.18 and later. If you are using Gitea 1.17 or older,
  1572  ;; please refer to
  1573  ;; https://github.com/go-gitea/gitea/blob/release/v1.17/custom/conf/app.example.ini
  1574  ;; https://github.com/go-gitea/gitea/blob/release/v1.17/docs/content/doc/advanced/config-cheat-sheet.en-us.md
  1575  ;;
  1576  ;ENABLED = false
  1577  ;;
  1578  ;; Buffer length of channel, keep it as it is if you don't know what it is.
  1579  ;SEND_BUFFER_LEN = 100
  1580  ;;
  1581  ;; Prefix displayed before subject in mail
  1582  ;SUBJECT_PREFIX =
  1583  ;;
  1584  ;; Mail server protocol. One of "smtp", "smtps", "smtp+starttls", "smtp+unix", "sendmail", "dummy".
  1585  ;; - sendmail: use the operating system's `sendmail` command instead of SMTP. This is common on Linux systems.
  1586  ;; - dummy: send email messages to the log as a testing phase.
  1587  ;; If your provider does not explicitly say which protocol it uses but does provide a port,
  1588  ;; you can set SMTP_PORT instead and this will be inferred.
  1589  ;; (Before 1.18, see the notice, this was controlled via MAILER_TYPE and IS_TLS_ENABLED.)
  1590  ;PROTOCOL =
  1591  ;;
  1592  ;; Mail server address, e.g. smtp.gmail.com.
  1593  ;; For smtp+unix, this should be a path to a unix socket instead.
  1594  ;; (Before 1.18, see the notice, this was combined with SMTP_PORT as HOST.)
  1595  ;SMTP_ADDR =
  1596  ;;
  1597  ;; Mail server port. Common ports are:
  1598  ;;   25:  insecure SMTP
  1599  ;;   465: SMTP Secure
  1600  ;;   587: StartTLS
  1601  ;; If no protocol is specified, it will be inferred by this setting.
  1602  ;; (Before 1.18, this was combined with SMTP_ADDR as HOST.)
  1603  ;SMTP_PORT =
  1604  ;;
  1605  ;; Enable HELO operation. Defaults to true.
  1606  ;ENABLE_HELO = true
  1607  ;;
  1608  ;; Custom hostname for HELO operation.
  1609  ;; If no value is provided, one is retrieved from system.
  1610  ;HELO_HOSTNAME =
  1611  ;;
  1612  ;; If set to `true`, completely ignores server certificate validation errors.
  1613  ;; This option is unsafe. Consider adding the certificate to the system trust store instead.
  1614  ;FORCE_TRUST_SERVER_CERT = false
  1615  ;;
  1616  ;; Use client certificate in connection.
  1617  ;USE_CLIENT_CERT = false
  1618  ;CLIENT_CERT_FILE = custom/mailer/cert.pem
  1619  ;CLIENT_KEY_FILE = custom/mailer/key.pem
  1620  ;;
  1621  ;; Mail from address, RFC 5322. This can be just an email address, or the `"Name" <email@example.com>` format
  1622  ;FROM =
  1623  ;;
  1624  ;; Sometimes it is helpful to use a different address on the envelope. Set this to use ENVELOPE_FROM as the from on the envelope. Set to `<>` to send an empty address.
  1625  ;ENVELOPE_FROM =
  1626  ;;
  1627  ;; Mailer user name and password, if required by provider.
  1628  ;USER =
  1629  ;;
  1630  ;; Use PASSWD = `your password` for quoting if you use special characters in the password.
  1631  ;PASSWD =
  1632  ;;
  1633  ;; Send mails only in plain text, without HTML alternative
  1634  ;SEND_AS_PLAIN_TEXT = false
  1635  ;;
  1636  ;; Specify an alternative sendmail binary
  1637  ;SENDMAIL_PATH = sendmail
  1638  ;;
  1639  ;; Specify any extra sendmail arguments
  1640  ;; WARNING: if your sendmail program interprets options you should set this to "--" or terminate these args with "--"
  1641  ;SENDMAIL_ARGS =
  1642  ;;
  1643  ;; Timeout for Sendmail
  1644  ;SENDMAIL_TIMEOUT = 5m
  1645  ;;
  1646  ;; convert \r\n to \n for Sendmail
  1647  ;SENDMAIL_CONVERT_CRLF = true
  1648  
  1649  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1650  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1651  ;[email.incoming]
  1652  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1653  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1654  ;;
  1655  ;; Enable handling of incoming emails.
  1656  ;ENABLED = false
  1657  ;;
  1658  ;; The email address including the %{token} placeholder that will be replaced per user/action.
  1659  ;; Example: incoming+%{token}@example.com
  1660  ;; The placeholder must appear in the user part of the address (before the @).
  1661  ;REPLY_TO_ADDRESS =
  1662  ;;
  1663  ;; IMAP server host
  1664  ;HOST =
  1665  ;;
  1666  ;; IMAP server port
  1667  ;PORT =
  1668  ;;
  1669  ;; Username of the receiving account
  1670  ;USERNAME =
  1671  ;;
  1672  ;; Password of the receiving account
  1673  ;PASSWORD =
  1674  ;;
  1675  ;; Whether the IMAP server uses TLS.
  1676  ;USE_TLS = false
  1677  ;;
  1678  ;; If set to true, completely ignores server certificate validation errors. This option is unsafe.
  1679  ;SKIP_TLS_VERIFY = true
  1680  ;;
  1681  ;; The mailbox name where incoming mail will end up.
  1682  ;MAILBOX = INBOX
  1683  ;;
  1684  ;; Whether handled messages should be deleted from the mailbox.
  1685  ;DELETE_HANDLED_MESSAGE = true
  1686  ;;
  1687  ;; Maximum size of a message to handle. Bigger messages are ignored. Set to 0 to allow every size.
  1688  ;MAXIMUM_MESSAGE_SIZE = 10485760
  1689  
  1690  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1691  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1692  ;[cache]
  1693  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1694  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1695  ;;
  1696  ;; if the cache enabled
  1697  ;ENABLED = true
  1698  ;;
  1699  ;; Either "memory", "redis", "memcache", or "twoqueue". default is "memory"
  1700  ;ADAPTER = memory
  1701  ;;
  1702  ;; For "memory" only, GC interval in seconds, default is 60
  1703  ;INTERVAL = 60
  1704  ;;
  1705  ;; For "redis", "redis-cluster" and "memcache", connection host address
  1706  ;; redis: `redis://127.0.0.1:6379/0?pool_size=100&idle_timeout=180s`
  1707  ;; redis-cluster: `redis+cluster://127.0.0.1:6379/0?pool_size=100&idle_timeout=180s`
  1708  ;; memcache: `127.0.0.1:11211`
  1709  ;; twoqueue: `{"size":50000,"recent_ratio":0.25,"ghost_ratio":0.5}` or `50000`
  1710  ;HOST =
  1711  ;;
  1712  ;; Time to keep items in cache if not used, default is 16 hours.
  1713  ;; Setting it to -1 disables caching
  1714  ;ITEM_TTL = 16h
  1715  
  1716  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1717  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1718  ;; Last commit cache
  1719  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1720  ;[cache.last_commit]
  1721  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1722  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1723  ;; if the cache enabled
  1724  ;ENABLED = true
  1725  ;;
  1726  ;; Time to keep items in cache if not used, default is 8760 hours.
  1727  ;; Setting it to -1 disables caching
  1728  ;ITEM_TTL = 8760h
  1729  ;;
  1730  ;; Only enable the cache when repository's commits count great than
  1731  ;COMMITS_COUNT = 1000
  1732  
  1733  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1734  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1735  ;[session]
  1736  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1737  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1738  ;;
  1739  ;; Either "memory", "file", "redis", "redis-cluster", "db", "mysql", "couchbase", "memcache" or "postgres"
  1740  ;; Default is "memory". "db" will reuse the configuration in [database]
  1741  ;PROVIDER = memory
  1742  ;;
  1743  ;; Provider config options
  1744  ;; memory: doesn't have any config yet
  1745  ;; file: session file path, e.g. `data/sessions`
  1746  ;; redis: `redis://127.0.0.1:6379/0?pool_size=100&idle_timeout=180s`
  1747  ;; redis-cluster: `redis+cluster://127.0.0.1:6379/0?pool_size=100&idle_timeout=180s`
  1748  ;; mysql: go-sql-driver/mysql dsn config string, e.g. `root:password@/session_table`
  1749  ;PROVIDER_CONFIG = data/sessions ; Relative paths will be made absolute against _`AppWorkPath`_.
  1750  ;;
  1751  ;; Session cookie name
  1752  ;COOKIE_NAME = i_like_gitea
  1753  ;;
  1754  ;; If you use session in https only: true or false. If not set, it defaults to `true` if the ROOT_URL is an HTTPS URL.
  1755  ;COOKIE_SECURE =
  1756  ;;
  1757  ;; Session GC time interval in seconds, default is 86400 (1 day)
  1758  ;GC_INTERVAL_TIME = 86400
  1759  ;;
  1760  ;; Session life time in seconds, default is 86400 (1 day)
  1761  ;SESSION_LIFE_TIME = 86400
  1762  ;;
  1763  ;; SameSite settings. Either "none", "lax", or "strict"
  1764  ;SAME_SITE=lax
  1765  
  1766  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1767  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1768  ;[picture]
  1769  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1770  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1771  ;;
  1772  ;AVATAR_UPLOAD_PATH = data/avatars
  1773  ;REPOSITORY_AVATAR_UPLOAD_PATH = data/repo-avatars
  1774  ;;
  1775  ;; How Gitea deals with missing repository avatars
  1776  ;; none = no avatar will be displayed; random = random avatar will be displayed; image = default image will be used
  1777  ;REPOSITORY_AVATAR_FALLBACK = none
  1778  ;REPOSITORY_AVATAR_FALLBACK_IMAGE = /img/repo_default.png
  1779  ;;
  1780  ;; Max Width and Height of uploaded avatars.
  1781  ;; This is to limit the amount of RAM used when resizing the image.
  1782  ;AVATAR_MAX_WIDTH = 4096
  1783  ;AVATAR_MAX_HEIGHT = 4096
  1784  ;;
  1785  ;; The multiplication factor for rendered avatar images.
  1786  ;; Larger values result in finer rendering on HiDPI devices.
  1787  ;AVATAR_RENDERED_SIZE_FACTOR = 2
  1788  ;;
  1789  ;; Maximum allowed file size for uploaded avatars.
  1790  ;; This is to limit the amount of RAM used when resizing the image.
  1791  ;AVATAR_MAX_FILE_SIZE = 1048576
  1792  ;;
  1793  ;; If the uploaded file is not larger than this byte size, the image will be used as is, without resizing/converting.
  1794  ;AVATAR_MAX_ORIGIN_SIZE = 262144
  1795  ;;
  1796  ;; Chinese users can choose "duoshuo"
  1797  ;; or a custom avatar source, like: http://cn.gravatar.com/avatar/
  1798  ;GRAVATAR_SOURCE = gravatar
  1799  ;;
  1800  ;; This value will always be true in offline mode.
  1801  ;DISABLE_GRAVATAR = false
  1802  ;;
  1803  ;; Federated avatar lookup uses DNS to discover avatar associated
  1804  ;; with emails, see https://www.libravatar.org
  1805  ;; This value will always be false in offline mode or when Gravatar is disabled.
  1806  ;ENABLE_FEDERATED_AVATAR = false
  1807  
  1808  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1809  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1810  ;[attachment]
  1811  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1812  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1813  ;;
  1814  ;; Whether issue and pull request attachments are enabled. Defaults to `true`
  1815  ;ENABLED = true
  1816  ;;
  1817  ;; Comma-separated list of allowed file extensions (`.zip`), mime types (`text/plain`) or wildcard type (`image/*`, `audio/*`, `video/*`). Empty value or `*/*` allows all types.
  1818  ;ALLOWED_TYPES = .csv,.docx,.fodg,.fodp,.fods,.fodt,.gif,.gz,.jpeg,.jpg,.log,.md,.mov,.mp4,.odf,.odg,.odp,.ods,.odt,.patch,.pdf,.png,.pptx,.svg,.tgz,.txt,.webm,.xls,.xlsx,.zip
  1819  ;;
  1820  ;; Max size of each file. Defaults to 2048MB
  1821  ;MAX_SIZE = 2048
  1822  ;;
  1823  ;; Max number of files per upload. Defaults to 5
  1824  ;MAX_FILES = 5
  1825  ;;
  1826  ;; Storage type for attachments, `local` for local disk or `minio` for s3 compatible
  1827  ;; object storage service, default is `local`.
  1828  ;STORAGE_TYPE = local
  1829  ;;
  1830  ;; Allows the storage driver to redirect to authenticated URLs to serve files directly
  1831  ;; Currently, only `minio` is supported.
  1832  ;SERVE_DIRECT = false
  1833  ;;
  1834  ;; Path for attachments. Defaults to `attachments`. Only available when STORAGE_TYPE is `local`
  1835  ;; Relative paths will be resolved to `${AppDataPath}/${attachment.PATH}`
  1836  ;PATH = attachments
  1837  ;;
  1838  ;; Minio endpoint to connect only available when STORAGE_TYPE is `minio`
  1839  ;MINIO_ENDPOINT = localhost:9000
  1840  ;;
  1841  ;; Minio accessKeyID to connect only available when STORAGE_TYPE is `minio`
  1842  ;MINIO_ACCESS_KEY_ID =
  1843  ;;
  1844  ;; Minio secretAccessKey to connect only available when STORAGE_TYPE is `minio`
  1845  ;MINIO_SECRET_ACCESS_KEY =
  1846  ;;
  1847  ;; Minio bucket to store the attachments only available when STORAGE_TYPE is `minio`
  1848  ;MINIO_BUCKET = gitea
  1849  ;;
  1850  ;; Minio location to create bucket only available when STORAGE_TYPE is `minio`
  1851  ;MINIO_LOCATION = us-east-1
  1852  ;;
  1853  ;; Minio base path on the bucket only available when STORAGE_TYPE is `minio`
  1854  ;MINIO_BASE_PATH = attachments/
  1855  ;;
  1856  ;; Minio enabled ssl only available when STORAGE_TYPE is `minio`
  1857  ;MINIO_USE_SSL = false
  1858  ;;
  1859  ;; Minio skip SSL verification available when STORAGE_TYPE is `minio`
  1860  ;MINIO_INSECURE_SKIP_VERIFY = false
  1861  ;;
  1862  ;; Minio checksum algorithm: default (for MinIO or AWS S3) or md5 (for Cloudflare or Backblaze)
  1863  ;MINIO_CHECKSUM_ALGORITHM = default
  1864  
  1865  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1866  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1867  ;[time]
  1868  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1869  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1870  ;;
  1871  ;; Location the UI time display i.e. Asia/Shanghai
  1872  ;; Empty means server's location setting
  1873  ;DEFAULT_UI_LOCATION =
  1874  
  1875  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1876  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1877  ;[cron]
  1878  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1879  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1880  ;;
  1881  ;; Common settings
  1882  ;;
  1883  ;; Setting this to true will enable all cron tasks periodically with default settings.
  1884  ;ENABLED = false
  1885  ;; Setting this to true will run all enabled cron tasks when Gitea starts.
  1886  ;RUN_AT_START = false
  1887  ;;
  1888  ;; Note: ``SCHEDULE`` accept formats
  1889  ;;    - Full crontab specs, e.g. "* * * * * ?"
  1890  ;;    - Descriptors, e.g. "@midnight", "@every 1h30m"
  1891  ;; See more: https://pkg.go.dev/github.com/gogs/cron@v0.0.0-20171120032916-9f6c956d3e14
  1892  
  1893  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1894  ;; Basic cron tasks - enabled by default
  1895  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1896  
  1897  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1898  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1899  ;; Clean up old repository archives
  1900  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1901  ;[cron.archive_cleanup]
  1902  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1903  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1904  ;; Whether to enable the job
  1905  ;ENABLED = true
  1906  ;; Whether to always run at least once at start up time (if ENABLED)
  1907  ;RUN_AT_START = true
  1908  ;; Whether to emit notice on successful execution too
  1909  ;NOTICE_ON_SUCCESS = false
  1910  ;; Time interval for job to run
  1911  ;SCHEDULE = @midnight
  1912  ;; Archives created more than OLDER_THAN ago are subject to deletion
  1913  ;OLDER_THAN = 24h
  1914  
  1915  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1916  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1917  ;; Update mirrors
  1918  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1919  ;[cron.update_mirrors]
  1920  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1921  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1922  ;SCHEDULE = @every 10m
  1923  ;; Enable running Update mirrors task periodically.
  1924  ;ENABLED = true
  1925  ;; Run Update mirrors task when Gitea starts.
  1926  ;RUN_AT_START = false
  1927  ;; Notice if not success
  1928  ;NOTICE_ON_SUCCESS = false
  1929  ;; Limit the number of mirrors added to the queue to this number
  1930  ;; (negative values mean no limit, 0 will result in no result in no mirrors being queued effectively disabling pull mirror updating.)
  1931  ;PULL_LIMIT=50
  1932  ;; Limit the number of mirrors added to the queue to this number
  1933  ;; (negative values mean no limit, 0 will result in no mirrors being queued effectively disabling push mirror updating)
  1934  ;PUSH_LIMIT=50
  1935  
  1936  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1937  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1938  ;; Repository health check
  1939  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1940  ;[cron.repo_health_check]
  1941  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1942  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1943  ;SCHEDULE = @midnight
  1944  ;; Enable running Repository health check task periodically.
  1945  ;ENABLED = true
  1946  ;; Run Repository health check task when Gitea starts.
  1947  ;RUN_AT_START = false
  1948  ;; Notice if not success
  1949  ;NOTICE_ON_SUCCESS = false
  1950  ;TIMEOUT = 60s
  1951  ;; Arguments for command 'git fsck', e.g. "--unreachable --tags"
  1952  ;; see more on http://git-scm.com/docs/git-fsck
  1953  ;ARGS =
  1954  
  1955  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1956  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1957  ;; Check repository statistics
  1958  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1959  ;[cron.check_repo_stats]
  1960  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1961  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1962  ;; Enable running check repository statistics task periodically.
  1963  ;ENABLED = true
  1964  ;; Run check repository statistics task when Gitea starts.
  1965  ;RUN_AT_START = true
  1966  ;; Notice if not success
  1967  ;NOTICE_ON_SUCCESS = false
  1968  ;SCHEDULE = @midnight
  1969  
  1970  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1971  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1972  ;[cron.update_migration_poster_id]
  1973  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1974  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1975  ; Update migrated repositories' issues and comments' posterid, it will always attempt synchronization when the instance starts.
  1976  ;ENABLED = true
  1977  ;; Update migrated repositories' issues and comments' posterid when starting server (default true)
  1978  ;RUN_AT_START = true
  1979  ;; Notice if not success
  1980  ;NOTICE_ON_SUCCESS = false
  1981  ;; Interval as a duration between each synchronization. (default every 24h)
  1982  ;SCHEDULE = @midnight
  1983  
  1984  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1985  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1986  ;; Synchronize external user data (only LDAP user synchronization is supported)
  1987  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1988  ;[cron.sync_external_users]
  1989  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1990  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1991  ;ENABLED = true
  1992  ;; Synchronize external user data when starting server (default false)
  1993  ;RUN_AT_START = false
  1994  ;; Notice if not success
  1995  ;NOTICE_ON_SUCCESS = false
  1996  ;; Interval as a duration between each synchronization (default every 24h)
  1997  ;SCHEDULE = @midnight
  1998  ;; Create new users, update existing user data and disable users that are not in external source anymore (default)
  1999  ;;   or only create new users if UPDATE_EXISTING is set to false
  2000  ;UPDATE_EXISTING = true
  2001  
  2002  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2003  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2004  ;; Clean-up deleted branches
  2005  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2006  ;[cron.deleted_branches_cleanup]
  2007  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2008  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2009  ;ENABLED = true
  2010  ;; Clean-up deleted branches when starting server (default true)
  2011  ;RUN_AT_START = true
  2012  ;; Notice if not success
  2013  ;NOTICE_ON_SUCCESS = false
  2014  ;; Interval as a duration between each synchronization (default every 24h)
  2015  ;SCHEDULE = @midnight
  2016  ;; deleted branches than OLDER_THAN ago are subject to deletion
  2017  ;OLDER_THAN = 24h
  2018  
  2019  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2020  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2021  ;; Cleanup hook_task table
  2022  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2023  ;[cron.cleanup_hook_task_table]
  2024  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2025  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2026  ;; Whether to enable the job
  2027  ;ENABLED = true
  2028  ;; Whether to always run at start up time (if ENABLED)
  2029  ;RUN_AT_START = false
  2030  ;; Time interval for job to run
  2031  ;SCHEDULE = @midnight
  2032  ;; OlderThan or PerWebhook. How the records are removed, either by age (i.e. how long ago hook_task record was delivered) or by the number to keep per webhook (i.e. keep most recent x deliveries per webhook).
  2033  ;CLEANUP_TYPE = OlderThan
  2034  ;; If CLEANUP_TYPE is set to OlderThan, then any delivered hook_task records older than this expression will be deleted.
  2035  ;OLDER_THAN = 168h
  2036  ;; If CLEANUP_TYPE is set to PerWebhook, this is number of hook_task records to keep for a webhook (i.e. keep the most recent x deliveries).
  2037  ;NUMBER_TO_KEEP = 10
  2038  
  2039  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2040  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2041  ;; Cleanup expired packages
  2042  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2043  ;[cron.cleanup_packages]
  2044  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2045  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2046  ;; Whether to enable the job
  2047  ;ENABLED = true
  2048  ;; Whether to always run at least once at start up time (if ENABLED)
  2049  ;RUN_AT_START = true
  2050  ;; Whether to emit notice on successful execution too
  2051  ;NOTICE_ON_SUCCESS = false
  2052  ;; Time interval for job to run
  2053  ;SCHEDULE = @midnight
  2054  ;; Unreferenced blobs created more than OLDER_THAN ago are subject to deletion
  2055  ;OLDER_THAN = 24h
  2056  
  2057  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2058  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2059  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2060  ; Extended cron task - not enabled by default
  2061  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2062  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2063  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2064  
  2065  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2066  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2067  ;; Delete all unactivated accounts
  2068  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2069  ;[cron.delete_inactive_accounts]
  2070  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2071  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2072  ;ENABLED = false
  2073  ;RUN_AT_START = false
  2074  ;NOTICE_ON_SUCCESS = false
  2075  ;SCHEDULE = @annually
  2076  ;OLDER_THAN = 168h
  2077  
  2078  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2079  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2080  ;; Delete all repository archives
  2081  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2082  ;[cron.delete_repo_archives]
  2083  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2084  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2085  ;ENABLED = false
  2086  ;RUN_AT_START = false
  2087  ;NOTICE_ON_SUCCESS = false
  2088  ;SCHEDULE = @annually;
  2089  
  2090  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2091  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2092  ;; Garbage collect all repositories
  2093  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2094  ;[cron.git_gc_repos]
  2095  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2096  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2097  ;ENABLED = false
  2098  ;RUN_AT_START = false
  2099  ;NOTICE_ON_SUCCESS = false
  2100  ;SCHEDULE = @every 72h
  2101  ;TIMEOUT = 60s
  2102  ;; Arguments for command 'git gc'
  2103  ;; The default value is same with [git] -> GC_ARGS
  2104  ;ARGS =
  2105  
  2106  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2107  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2108  ;; Update the '.ssh/authorized_keys' file with Gitea SSH keys
  2109  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2110  ;[cron.resync_all_sshkeys]
  2111  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2112  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2113  ;ENABLED = false
  2114  ;RUN_AT_START = false
  2115  ;NOTICE_ON_SUCCESS = false
  2116  ;SCHEDULE = @every 72h
  2117  
  2118  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2119  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2120  ;; Resynchronize pre-receive, update and post-receive hooks of all repositories.
  2121  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2122  ;[cron.resync_all_hooks]
  2123  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2124  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2125  ;ENABLED = false
  2126  ;RUN_AT_START = false
  2127  ;NOTICE_ON_SUCCESS = false
  2128  ;SCHEDULE = @every 72h
  2129  
  2130  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2131  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2132  ;; Reinitialize all missing Git repositories for which records exist
  2133  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2134  ;[cron.reinit_missing_repos]
  2135  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2136  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2137  ;ENABLED = false
  2138  ;RUN_AT_START = false
  2139  ;NOTICE_ON_SUCCESS = false
  2140  ;SCHEDULE = @every 72h
  2141  
  2142  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2143  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2144  ;; Delete all repositories missing their Git files
  2145  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2146  ;[cron.delete_missing_repos]
  2147  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2148  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2149  ;ENABLED = false
  2150  ;RUN_AT_START = false
  2151  ;NOTICE_ON_SUCCESS = false
  2152  ;SCHEDULE = @every 72h
  2153  
  2154  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2155  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2156  ;; Delete generated repository avatars
  2157  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2158  ;[cron.delete_generated_repository_avatars]
  2159  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2160  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2161  ;ENABLED = false
  2162  ;RUN_AT_START = false
  2163  ;NOTICE_ON_SUCCESS = false
  2164  ;SCHEDULE = @every 72h
  2165  
  2166  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2167  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2168  ;; Delete all old actions from database
  2169  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2170  ;[cron.delete_old_actions]
  2171  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2172  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2173  ;ENABLED = false
  2174  ;RUN_AT_START = false
  2175  ;NOTICE_ON_SUCCESS = false
  2176  ;SCHEDULE = @every 168h
  2177  ;OLDER_THAN = 8760h
  2178  
  2179  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2180  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2181  ;; Check for new Gitea versions
  2182  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2183  ;[cron.update_checker]
  2184  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2185  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2186  ;ENABLED = true
  2187  ;RUN_AT_START = false
  2188  ;ENABLE_SUCCESS_NOTICE = false
  2189  ;SCHEDULE = @every 168h
  2190  ;HTTP_ENDPOINT = https://dl.gitea.com/gitea/version.json
  2191  
  2192  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2193  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2194  ;; Delete all old system notices from database
  2195  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2196  ;[cron.delete_old_system_notices]
  2197  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2198  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2199  ;ENABLED = false
  2200  ;RUN_AT_START = false
  2201  ;NO_SUCCESS_NOTICE = false
  2202  ;SCHEDULE = @every 168h
  2203  ;OLDER_THAN = 8760h
  2204  
  2205  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2206  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2207  ;; Garbage collect LFS pointers in repositories
  2208  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2209  ;[cron.gc_lfs]
  2210  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2211  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2212  ;ENABLED = false
  2213  ;; Garbage collect LFS pointers in repositories (default false)
  2214  ;RUN_AT_START = false
  2215  ;; Interval as a duration between each gc run (default every 24h)
  2216  ;SCHEDULE = @every 24h
  2217  ;; Only attempt to garbage collect LFSMetaObjects older than this (default 7 days)
  2218  ;OLDER_THAN = 168h
  2219  ;; Only attempt to garbage collect LFSMetaObjects that have not been attempted to be garbage collected for this long (default 3 days)
  2220  ;LAST_UPDATED_MORE_THAN_AGO = 72h
  2221  ; Minimum number of stale LFSMetaObjects to check per repo. Set to `0` to always check all.
  2222  ;NUMBER_TO_CHECK_PER_REPO = 100
  2223  ;Check at least this proportion of LFSMetaObjects per repo. (This may cause all stale LFSMetaObjects to be checked.)
  2224  ;PROPORTION_TO_CHECK_PER_REPO = 0.6
  2225  
  2226  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2227  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2228  ;[mirror]
  2229  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2230  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2231  ;; Enables the mirror functionality. Set to **false** to disable all mirrors. Pre-existing mirrors remain valid but won't be updated; may be converted to regular repo.
  2232  ;ENABLED = true
  2233  ;; Disable the creation of **new** pull mirrors. Pre-existing mirrors remain valid. Will be ignored if `mirror.ENABLED` is `false`.
  2234  ;DISABLE_NEW_PULL = false
  2235  ;; Disable the creation of **new** push mirrors. Pre-existing mirrors remain valid. Will be ignored if `mirror.ENABLED` is `false`.
  2236  ;DISABLE_NEW_PUSH = false
  2237  ;; Default interval as a duration between each check
  2238  ;DEFAULT_INTERVAL = 8h
  2239  ;; Min interval as a duration must be > 1m
  2240  ;MIN_INTERVAL = 10m
  2241  
  2242  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2243  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2244  ;[api]
  2245  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2246  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2247  ;; Enables the API documentation endpoints (/api/swagger, /api/v1/swagger, …). True or false.
  2248  ;ENABLE_SWAGGER = true
  2249  ;; Max number of items in a page
  2250  ;MAX_RESPONSE_ITEMS = 50
  2251  ;; Default paging number of api
  2252  ;DEFAULT_PAGING_NUM = 30
  2253  ;; Default and maximum number of items per page for git trees api
  2254  ;DEFAULT_GIT_TREES_PER_PAGE = 1000
  2255  ;; Default max size of a blob returned by the blobs API (default is 10MiB)
  2256  ;DEFAULT_MAX_BLOB_SIZE = 10485760
  2257  
  2258  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2259  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2260  ;[i18n]
  2261  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2262  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2263  ;; The first locale will be used as the default if user browser's language doesn't match any locale in the list.
  2264  ;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
  2265  ;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,മലയാളം
  2266  
  2267  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2268  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2269  ;[highlight.mapping]
  2270  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2271  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2272  ;; Extension mapping to highlight class
  2273  ;; e.g. .toml=ini
  2274  
  2275  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2276  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2277  ;[other]
  2278  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2279  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2280  ;; Show version information about Gitea and Go in the footer
  2281  ;SHOW_FOOTER_VERSION = true
  2282  ;; Show template execution time in the footer
  2283  ;SHOW_FOOTER_TEMPLATE_LOAD_TIME = true
  2284  ;; Generate sitemap. Defaults to `true`.
  2285  ;ENABLE_SITEMAP = true
  2286  ;; Enable/Disable RSS/Atom feed
  2287  ;ENABLE_FEED = true
  2288  
  2289  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2290  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2291  ;[markup]
  2292  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2293  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2294  ;; Set the maximum number of characters in a mermaid source. (Set to -1 to disable limits)
  2295  ;MERMAID_MAX_SOURCE_CHARACTERS = 5000
  2296  
  2297  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2298  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2299  ;[markup.sanitizer.1]
  2300  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2301  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2302  ;; The following keys can appear once to define a sanitation policy rule.
  2303  ;; This section can appear multiple times by adding a unique alphanumeric suffix to define multiple rules.
  2304  ;; e.g., [markup.sanitizer.1] -> [markup.sanitizer.2] -> [markup.sanitizer.TeX]
  2305  ;ELEMENT = span
  2306  ;ALLOW_ATTR = class
  2307  ;REGEXP = ^(info|warning|error)$
  2308  ;;
  2309  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2310  ;; Other markup formats e.g. asciidoc
  2311  ;;
  2312  ;; uncomment and enable the below section.
  2313  ;; (You can add other markup formats by copying the section and adjusting
  2314  ;;  the section name suffix "asciidoc" to something else.)
  2315  ;[markup.asciidoc]
  2316  ;ENABLED = false
  2317  ;; List of file extensions that should be rendered by an external command
  2318  ;FILE_EXTENSIONS = .adoc,.asciidoc
  2319  ;; External command to render all matching extensions
  2320  ;RENDER_COMMAND = "asciidoc --out-file=- -"
  2321  ;; Don't pass the file on STDIN, pass the filename as argument instead.
  2322  ;IS_INPUT_FILE = false
  2323  ;; How the content will be rendered.
  2324  ;; * sanitized: Sanitize the content and render it inside current page, default to only allow a few HTML tags and attributes. Customized sanitizer rules can be defined in [markup.sanitizer.*] .
  2325  ;; * no-sanitizer: Disable the sanitizer and render the content inside current page. It's **insecure** and may lead to XSS attack if the content contains malicious code.
  2326  ;; * iframe: Render the content in a separate standalone page and embed it into current page by iframe. The iframe is in sandbox mode with same-origin disabled, and the JS code are safely isolated from parent page.
  2327  ;RENDER_CONTENT_MODE=sanitized
  2328  
  2329  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2330  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2331  ;[metrics]
  2332  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2333  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2334  ;; Enables metrics endpoint. True or false; default is false.
  2335  ;ENABLED = false
  2336  ;; If you want to add authorization, specify a token here
  2337  ;TOKEN =
  2338  ;; Enable issue by label metrics; default is false
  2339  ;ENABLED_ISSUE_BY_LABEL = false
  2340  ;; Enable issue by repository metrics; default is false
  2341  ;ENABLED_ISSUE_BY_REPOSITORY = false
  2342  
  2343  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2344  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2345  ;[task]
  2346  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2347  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2348  ;;
  2349  ;; Task queue type, could be `channel` or `redis`.
  2350  ;QUEUE_TYPE = channel
  2351  ;;
  2352  ;; Task queue length, available only when `QUEUE_TYPE` is `channel`.
  2353  ;QUEUE_LENGTH = 1000
  2354  ;;
  2355  ;; Task queue connection string, available only when `QUEUE_TYPE` is `redis`.
  2356  ;; If there is a password of redis, use `redis://127.0.0.1:6379/0?pool_size=100&idle_timeout=180s` or `redis+cluster://127.0.0.1:6379/0?pool_size=100&idle_timeout=180s` for `redis-clsuter`.
  2357  ;QUEUE_CONN_STR = "redis://127.0.0.1:6379/0?pool_size=100&idle_timeout=180s"
  2358  
  2359  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2360  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2361  ;[migrations]
  2362  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2363  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2364  ;;
  2365  ;; Max attempts per http/https request on migrations.
  2366  ;MAX_ATTEMPTS = 3
  2367  ;;
  2368  ;; Backoff time per http/https request retry (seconds)
  2369  ;RETRY_BACKOFF = 3
  2370  ;;
  2371  ;; Allowed domains for migrating, default is blank. Blank means everything will be allowed.
  2372  ;; Multiple domains could be separated by commas.
  2373  ;; Wildcard is supported: "github.com, *.github.com"
  2374  ;ALLOWED_DOMAINS =
  2375  ;;
  2376  ;; Blocklist for migrating, default is blank. Multiple domains could be separated by commas.
  2377  ;; When ALLOWED_DOMAINS is not blank, this option has a higher priority to deny domains.
  2378  ;; Wildcard is supported.
  2379  ;BLOCKED_DOMAINS =
  2380  ;;
  2381  ;; Allow private addresses defined by RFC 1918, RFC 1122, RFC 4632 and RFC 4291 (false by default)
  2382  ;; If a domain is allowed by ALLOWED_DOMAINS, this option will be ignored.
  2383  ;ALLOW_LOCALNETWORKS = false
  2384  
  2385  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2386  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2387  ;[federation]
  2388  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2389  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2390  ;;
  2391  ;; Enable/Disable federation capabilities
  2392  ;ENABLED = false
  2393  ;;
  2394  ;; Enable/Disable user statistics for nodeinfo if federation is enabled
  2395  ;SHARE_USER_STATISTICS = true
  2396  ;;
  2397  ;; Maximum federation request and response size (MB)
  2398  ;MAX_SIZE = 4
  2399  ;;
  2400  ;; WARNING: Changing the settings below can break federation.
  2401  ;;
  2402  ;; HTTP signature algorithms
  2403  ;ALGORITHMS = rsa-sha256, rsa-sha512, ed25519
  2404  ;;
  2405  ;; HTTP signature digest algorithm
  2406  ;DIGEST_ALGORITHM = SHA-256
  2407  ;;
  2408  ;; GET headers for federation requests
  2409  ;GET_HEADERS = (request-target), Date
  2410  ;;
  2411  ;; POST headers for federation requests
  2412  ;POST_HEADERS = (request-target), Date, Digest
  2413  
  2414  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2415  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2416  ;[packages]
  2417  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2418  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2419  ;;
  2420  ;; Enable/Disable package registry capabilities
  2421  ;ENABLED = true
  2422  ;;
  2423  ;STORAGE_TYPE = local
  2424  ;; override the minio base path if storage type is minio
  2425  ;MINIO_BASE_PATH = packages/
  2426  ;;
  2427  ;; Path for chunked uploads. Defaults to APP_DATA_PATH + `tmp/package-upload`
  2428  ;CHUNKED_UPLOAD_PATH = tmp/package-upload
  2429  ;;
  2430  ;; Maximum count of package versions a single owner can have (`-1` means no limits)
  2431  ;LIMIT_TOTAL_OWNER_COUNT = -1
  2432  ;; Maximum size of packages a single owner can use (`-1` means no limits, format `1000`, `1 MB`, `1 GiB`)
  2433  ;LIMIT_TOTAL_OWNER_SIZE = -1
  2434  ;; Maximum size of an Alpine upload (`-1` means no limits, format `1000`, `1 MB`, `1 GiB`)
  2435  ;LIMIT_SIZE_ALPINE = -1
  2436  ;; Maximum size of a Cargo upload (`-1` means no limits, format `1000`, `1 MB`, `1 GiB`)
  2437  ;LIMIT_SIZE_CARGO = -1
  2438  ;; Maximum size of a Chef upload (`-1` means no limits, format `1000`, `1 MB`, `1 GiB`)
  2439  ;LIMIT_SIZE_CHEF = -1
  2440  ;; Maximum size of a Composer upload (`-1` means no limits, format `1000`, `1 MB`, `1 GiB`)
  2441  ;LIMIT_SIZE_COMPOSER = -1
  2442  ;; Maximum size of a Conan upload (`-1` means no limits, format `1000`, `1 MB`, `1 GiB`)
  2443  ;LIMIT_SIZE_CONAN = -1
  2444  ;; Maximum size of a Conda upload (`-1` means no limits, format `1000`, `1 MB`, `1 GiB`)
  2445  ;LIMIT_SIZE_CONDA = -1
  2446  ;; Maximum size of a Container upload (`-1` means no limits, format `1000`, `1 MB`, `1 GiB`)
  2447  ;LIMIT_SIZE_CONTAINER = -1
  2448  ;; Maximum size of a CRAN upload (`-1` means no limits, format `1000`, `1 MB`, `1 GiB`)
  2449  ;LIMIT_SIZE_CRAN = -1
  2450  ;; Maximum size of a Debian upload (`-1` means no limits, format `1000`, `1 MB`, `1 GiB`)
  2451  ;LIMIT_SIZE_DEBIAN = -1
  2452  ;; Maximum size of a Generic upload (`-1` means no limits, format `1000`, `1 MB`, `1 GiB`)
  2453  ;LIMIT_SIZE_GENERIC = -1
  2454  ;; Maximum size of a Go upload (`-1` means no limits, format `1000`, `1 MB`, `1 GiB`)
  2455  ;LIMIT_SIZE_GO = -1
  2456  ;; Maximum size of a Helm upload (`-1` means no limits, format `1000`, `1 MB`, `1 GiB`)
  2457  ;LIMIT_SIZE_HELM = -1
  2458  ;; Maximum size of a Maven upload (`-1` means no limits, format `1000`, `1 MB`, `1 GiB`)
  2459  ;LIMIT_SIZE_MAVEN = -1
  2460  ;; Maximum size of a npm upload (`-1` means no limits, format `1000`, `1 MB`, `1 GiB`)
  2461  ;LIMIT_SIZE_NPM = -1
  2462  ;; Maximum size of a NuGet upload (`-1` means no limits, format `1000`, `1 MB`, `1 GiB`)
  2463  ;LIMIT_SIZE_NUGET = -1
  2464  ;; Maximum size of a Pub upload (`-1` means no limits, format `1000`, `1 MB`, `1 GiB`)
  2465  ;LIMIT_SIZE_PUB = -1
  2466  ;; Maximum size of a PyPI upload (`-1` means no limits, format `1000`, `1 MB`, `1 GiB`)
  2467  ;LIMIT_SIZE_PYPI = -1
  2468  ;; Maximum size of a RPM upload (`-1` means no limits, format `1000`, `1 MB`, `1 GiB`)
  2469  ;LIMIT_SIZE_RPM = -1
  2470  ;; Maximum size of a RubyGems upload (`-1` means no limits, format `1000`, `1 MB`, `1 GiB`)
  2471  ;LIMIT_SIZE_RUBYGEMS = -1
  2472  ;; Maximum size of a Swift upload (`-1` means no limits, format `1000`, `1 MB`, `1 GiB`)
  2473  ;LIMIT_SIZE_SWIFT = -1
  2474  ;; Maximum size of a Vagrant upload (`-1` means no limits, format `1000`, `1 MB`, `1 GiB`)
  2475  ;LIMIT_SIZE_VAGRANT = -1
  2476  
  2477  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2478  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2479  ;; default storage for attachments, lfs and avatars
  2480  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2481  ;[storage]
  2482  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2483  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2484  ;; storage type
  2485  ;STORAGE_TYPE = local
  2486  
  2487  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2488  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2489  ;; repo-archive storage will override storage
  2490  ;;
  2491  ;[repo-archive]
  2492  ;STORAGE_TYPE = local
  2493  ;;
  2494  ;; Where your lfs files reside, default is data/lfs.
  2495  ;PATH = data/repo-archive
  2496  ;;
  2497  ;; override the minio base path if storage type is minio
  2498  ;MINIO_BASE_PATH = repo-archive/
  2499  
  2500  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2501  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2502  ;; settings for repository archives, will override storage setting
  2503  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2504  ;[storage.repo-archive]
  2505  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2506  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2507  ;; storage type
  2508  ;STORAGE_TYPE = local
  2509  
  2510  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2511  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2512  ;; lfs storage will override storage
  2513  ;;
  2514  ;[lfs]
  2515  ;STORAGE_TYPE = local
  2516  ;;
  2517  ;; Where your lfs files reside, default is data/lfs.
  2518  ;PATH = data/lfs
  2519  ;;
  2520  ;; override the minio base path if storage type is minio
  2521  ;MINIO_BASE_PATH = lfs/
  2522  
  2523  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2524  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2525  ;; settings for packages, will override storage setting
  2526  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2527  ;[storage.packages]
  2528  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2529  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2530  ;; storage type
  2531  ;STORAGE_TYPE = local
  2532  
  2533  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2534  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2535  ;; customize storage
  2536  ;[storage.my_minio]
  2537  ;STORAGE_TYPE = minio
  2538  ;;
  2539  ;; Minio endpoint to connect only available when STORAGE_TYPE is `minio`
  2540  ;MINIO_ENDPOINT = localhost:9000
  2541  ;;
  2542  ;; Minio accessKeyID to connect only available when STORAGE_TYPE is `minio`
  2543  ;MINIO_ACCESS_KEY_ID =
  2544  ;;
  2545  ;; Minio secretAccessKey to connect only available when STORAGE_TYPE is `minio`
  2546  ;MINIO_SECRET_ACCESS_KEY =
  2547  ;;
  2548  ;; Minio bucket to store the attachments only available when STORAGE_TYPE is `minio`
  2549  ;MINIO_BUCKET = gitea
  2550  ;;
  2551  ;; Minio location to create bucket only available when STORAGE_TYPE is `minio`
  2552  ;MINIO_LOCATION = us-east-1
  2553  ;;
  2554  ;; Minio enabled ssl only available when STORAGE_TYPE is `minio`
  2555  ;MINIO_USE_SSL = false
  2556  ;;
  2557  ;; Minio skip SSL verification available when STORAGE_TYPE is `minio`
  2558  ;MINIO_INSECURE_SKIP_VERIFY = false
  2559  
  2560  ;[proxy]
  2561  ;; Enable the proxy, all requests to external via HTTP will be affected
  2562  ;PROXY_ENABLED = false
  2563  ;; Proxy server URL, support http://, https//, socks://, blank will follow environment http_proxy/https_proxy/no_proxy
  2564  ;PROXY_URL =
  2565  ;; Comma separated list of host names requiring proxy. Glob patterns (*) are accepted; use ** to match all hosts.
  2566  ;PROXY_HOSTS =
  2567  
  2568  ; [actions]
  2569  ;; Enable/Disable actions capabilities
  2570  ;ENABLED = true
  2571  ;;
  2572  ;; Default platform to get action plugins, `github` for `https://github.com`, `self` for the current Gitea instance.
  2573  ;DEFAULT_ACTIONS_URL = github
  2574  ;; Default artifact retention time in days. Artifacts could have their own retention periods by setting the `retention-days` option in `actions/upload-artifact` step.
  2575  ;ARTIFACT_RETENTION_DAYS = 90
  2576  ;; Timeout to stop the task which have running status, but haven't been updated for a long time
  2577  ;ZOMBIE_TASK_TIMEOUT = 10m
  2578  ;; Timeout to stop the tasks which have running status and continuous updates, but don't end for a long time
  2579  ;ENDLESS_TASK_TIMEOUT = 3h
  2580  ;; Timeout to cancel the jobs which have waiting status, but haven't been picked by a runner for a long time
  2581  ;ABANDONED_JOB_TIMEOUT = 24h
  2582  
  2583  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2584  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2585  ;; settings for action logs, will override storage setting
  2586  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2587  ;[storage.actions_log]
  2588  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2589  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2590  ;; storage type
  2591  ;STORAGE_TYPE = local