[gitea] Update config to a runnable state

This commit is contained in:
Vladan Popovic 2019-08-02 11:39:27 +02:00
parent a3b6d33d51
commit 9c9317c7a4

View file

@ -1,32 +1,46 @@
APP_NAME = Gitea: Git with a cup of tea
RUN_USER = gitea RUN_USER = gitea
RUN_MODE = prod 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] [repository]
ROOT = /var/lib/gitea/git ROOT = /var/lib/gitea/git
SCRIPT_TYPE = sh SCRIPT_TYPE = sh
ANSI_CHARSET = UTF-8
[server]
STATIC_ROOT_PATH = /usr/share/webapps/gitea
APP_DATA_PATH = /var/lib/gitea/data
[database] [database]
DB_TYPE = sqlite3 DB_TYPE = sqlite3
PATH = /var/lib/gitea/db/gitea.db PATH = db/gitea.db
SSL_MODE = disable 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] [session]
PROVIDER = file PROVIDER = file
[log] [mailer]
MODE = info_console ENABLED = false
LEVEL = Info
[Log.error_console]
Mode=console
Stderr=true
Level=Error
[Log.info_console]
Mode=console
Stderr=true
Level=Info