diff --git a/alpine/gitea/app.ini b/alpine/gitea/app.ini index cd64e3e..239e9c8 100644 --- a/alpine/gitea/app.ini +++ b/alpine/gitea/app.ini @@ -1,32 +1,46 @@ +APP_NAME = Gitea: Git with a cup of tea RUN_USER = gitea RUN_MODE = prod -[repository] -ROOT = /var/lib/gitea/git -SCRIPT_TYPE = sh +[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 -APP_DATA_PATH = /var/lib/gitea/data +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 = /var/lib/gitea/db/gitea.db -SSL_MODE = disable +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 -[log] -MODE = info_console -LEVEL = Info - -[Log.error_console] -Mode=console -Stderr=true -Level=Error - -[Log.info_console] -Mode=console -Stderr=true -Level=Info +[mailer] +ENABLED = false