2019-08-02 11:39:27 +02:00
|
|
|
APP_NAME = Gitea: Git with a cup of tea
|
2019-07-09 18:30:30 +02:00
|
|
|
RUN_USER = gitea
|
|
|
|
RUN_MODE = prod
|
|
|
|
|
2019-08-02 11:39:27 +02:00
|
|
|
[security]
|
|
|
|
SECRET_KEY = bfv$twg2ZEWwg!15s$5dtgA51RFSzZDG@WG1qdrgx4Gwbrc%vDbr%D%t4z$a%W
|
|
|
|
INTERNAL_TOKEN = 2XzeSfq#RAVeaw3Xeq1xSBbstaFgXBB
|
|
|
|
INSTALL_LOCK = true
|
2019-07-09 18:30:30 +02:00
|
|
|
|
|
|
|
[server]
|
2019-08-02 11:39:27 +02:00
|
|
|
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
|
2019-07-09 18:30:30 +02:00
|
|
|
|
|
|
|
[database]
|
2019-08-02 11:39:27 +02:00
|
|
|
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
|
2019-07-09 18:30:30 +02:00
|
|
|
|
|
|
|
[session]
|
|
|
|
PROVIDER = file
|
|
|
|
|
2019-08-02 11:39:27 +02:00
|
|
|
[mailer]
|
|
|
|
ENABLED = false
|