2019-02-06 12:37:00 +01:00
|
|
|
; This file lists the default values used by Gitea
|
|
|
|
; Copy required sections to your own app.ini (default is custom/conf/app.ini)
|
|
|
|
; and modify as needed.
|
|
|
|
; see https://docs.gitea.io/en-us/config-cheat-sheet/ for additional documentation.
|
|
|
|
; App name that shows in every page title
|
2019-06-24 14:18:25 +02:00
|
|
|
APP_NAME = La ferme de Gwh.
|
2019-02-06 12:37:00 +01:00
|
|
|
; Change it if you run locally
|
|
|
|
RUN_USER = gitea
|
|
|
|
; Either "dev", "prod" or "test", default is "dev"
|
2019-06-24 14:18:25 +02:00
|
|
|
RUN_MODE = prod
|
2019-02-06 12:37:00 +01:00
|
|
|
|
|
|
|
[repository]
|
2019-06-24 14:18:25 +02:00
|
|
|
ROOT = data/gitea-repositories
|
2019-02-06 12:37:00 +01:00
|
|
|
|
|
|
|
[repository.upload]
|
2019-06-24 14:18:25 +02:00
|
|
|
TEMP_PATH = data/tmp/uploads
|
2019-02-06 12:37:00 +01:00
|
|
|
|
|
|
|
[server]
|
|
|
|
; The protocol the server listens on. One of 'http', 'https', 'unix' or 'fcgi'.
|
2019-06-24 14:18:25 +02:00
|
|
|
PROTOCOL = http
|
2019-06-24 14:30:16 +02:00
|
|
|
DOMAIN = your.domain
|
|
|
|
ROOT_URL = https://your.domain/
|
|
|
|
LOCAL_ROOT_URL = http://localhost:3817/
|
2019-02-06 12:37:00 +01:00
|
|
|
; The address to listen on. Either a IPv4/IPv6 address or the path to a unix socket.
|
2019-06-24 14:18:25 +02:00
|
|
|
HTTP_ADDR = 0.0.0.0
|
|
|
|
HTTP_PORT = 3817
|
|
|
|
LFS_CONTENT_PATH = data/lfs
|
2019-02-06 12:37:00 +01:00
|
|
|
|
|
|
|
[database]
|
|
|
|
; Either "mysql", "postgres", "mssql" or "sqlite3", it's your choice
|
2019-06-24 14:18:25 +02:00
|
|
|
DB_TYPE = mysql
|
|
|
|
HOST = 127.0.0.1:3306
|
|
|
|
NAME = gitea
|
|
|
|
USER = gitea
|
2019-02-06 12:37:00 +01:00
|
|
|
; Use PASSWD = `your password` for quoting if you use special characters in the password.
|
2019-06-24 14:18:25 +02:00
|
|
|
PASSWD = <YOUR_DB_PASSWORD>
|
2019-02-06 12:37:00 +01:00
|
|
|
|
|
|
|
[indexer]
|
2019-06-24 14:18:25 +02:00
|
|
|
ISSUE_INDEXER_PATH = indexers/issues.bleve
|
|
|
|
REPO_INDEXER_PATH = indexers/repos.bleve
|
2019-02-06 12:37:00 +01:00
|
|
|
|
|
|
|
[admin]
|
|
|
|
; Disallow regular (non-admin) users from creating organizations.
|
2019-06-24 14:18:25 +02:00
|
|
|
DISABLE_REGULAR_ORG_CREATION = true
|
|
|
|
|
|
|
|
[service]
|
|
|
|
DISABLE_REGISTRATION = true
|
2019-02-06 12:37:00 +01:00
|
|
|
|
|
|
|
[security]
|
|
|
|
; Whether the installer is disabled
|
2019-06-24 14:18:25 +02:00
|
|
|
INSTALL_LOCK = true
|
2019-02-06 12:37:00 +01:00
|
|
|
|
|
|
|
[openid]
|
2019-06-24 14:18:25 +02:00
|
|
|
ENABLE_OPENID_SIGNIN = false
|
2019-02-06 12:37:00 +01:00
|
|
|
|
|
|
|
[picture]
|
2019-06-24 14:18:25 +02:00
|
|
|
AVATAR_UPLOAD_PATH = data/avatars
|
2019-02-06 12:37:00 +01:00
|
|
|
|
|
|
|
[attachment]
|
2019-06-24 14:18:25 +02:00
|
|
|
PATH = data/attachments
|
2019-02-06 12:37:00 +01:00
|
|
|
|
|
|
|
[log]
|
2019-06-24 14:18:25 +02:00
|
|
|
ROOT_PATH = /var/log/gitea
|
2019-02-06 12:37:00 +01:00
|
|
|
; Either "console", "file", "conn", "smtp" or "database", default is "console"
|
|
|
|
; Use comma to separate multiple modes, e.g. "console, file"
|
2019-06-24 14:18:25 +02:00
|
|
|
MODE = file
|
2019-02-06 12:37:00 +01:00
|
|
|
; Buffer length of the channel, keep it as it is if you don't know what it is.
|
2019-06-24 14:18:25 +02:00
|
|
|
BUFFER_LEN = 10000
|
2019-02-06 12:37:00 +01:00
|
|
|
; Either "Trace", "Debug", "Info", "Warn", "Error", "Critical", default is "Trace"
|
2019-06-24 14:18:25 +02:00
|
|
|
LEVEL = Warn
|
2019-02-06 12:37:00 +01:00
|
|
|
REDIRECT_MACARON_LOG = false
|
|
|
|
|