46 lines
1.1 KiB
INI
46 lines
1.1 KiB
INI
APP_NAME = Gitea: Git with a cup of tea
|
|
RUN_USER = gitea
|
|
RUN_MODE = prod
|
|
|
|
[security]
|
|
SECRET_KEY = bfv$twg2ZEWwg!15s$5dtgA51RFSzZDG@WG1qdrgx4Gwbrc%vDbr%D%t4z$a%W
|
|
INTERNAL_TOKEN = 2XzeSfq#RAVeaw3Xeq1xSBbstaFgXBB
|
|
INSTALL_LOCK = true
|
|
|
|
[server]
|
|
STATIC_ROOT_PATH = /usr/share/webapps/gitea
|
|
SSH_SERVER_DOMAIN = localhost
|
|
SSH_SERVER_PORT = 22
|
|
|
|
[repository]
|
|
ROOT = /var/lib/gitea/git
|
|
SCRIPT_TYPE = sh
|
|
ANSI_CHARSET = UTF-8
|
|
|
|
[database]
|
|
DB_TYPE = sqlite3
|
|
PATH = db/gitea.db
|
|
SQLITE_TIMEOUT = 500
|
|
|
|
[log]
|
|
MODE = console
|
|
ROUTER_LOG_LEVEL = Debug
|
|
ROUTER = console
|
|
ENABLE_ACCESS_LOG = true
|
|
ACCESS_LOG_TEMPLATE = {{.Ctx.RemoteAddr}} - {{.Identity}} {{.Start.Format "[02/Jan/2006:15:04:05 -0700]" }} "{{.Ctx.Req.Method}} {{.Ctx.Req.RequestURI}} {{.Ctx.Req.Proto}}" {{.ResponseWriter.Status}} {{.ResponseWriter.Size}} "{{.Ctx.Req.Referer}}\" \"{{.Ctx.Req.UserAgent}}"
|
|
ACCESS = console
|
|
LEVEL = debug
|
|
STACKTRACE_LEVEL = Trace
|
|
|
|
[log.console]
|
|
LEVEL = debug
|
|
STDERR = false
|
|
|
|
[oauth2]
|
|
ENABLE = false
|
|
|
|
[session]
|
|
PROVIDER = file
|
|
|
|
[mailer]
|
|
ENABLED = false
|