app.ini section,app.ini key,app.ini provided value,app.ini description,Variable,Priority 1,Priority 2,Default n/a,n/a,,,AppPath,,,derived from os.Args[0] n/a,n/a,,,AppWorkPath,{GITEA_WORK_DIR},,relative directory name of AppPath n/a,n/a,,,CustomPath,{GITEA_CUSTOM},{AppWorkPath}/{GITEA_CUSTOM},{AppWorkPath}/custom [repository],ROOT,,,RepoRootPath,[repository]ROOT,{AppWorkPath}/[repository]ROOT,{homeDir}/gitea-repositories [server],STATIC_ROOT_PATH,,; Upper level of template and static file path ; default is the path where Gitea is executed,StaticRootPath,[server]STATIC_ROOT_PATH,,{AppWorkPath} [server],APP_DATA_PATH,data,; Default path for App data,AppDataPath,[server]APP_DATA_PATH,,{AppWorkPath}/data [repository.local],LOCAL_COPY_PATH,tmp/local-repo,; Path for uploads. Defaults to `tmp/local-repo`,Repository.Local.LocalCopyPath,[repository.local]LOCAL_COPY_PATH,{AppDataPath}/[repository.local]LOCAL_COPY_PATH,{AppDataPath}/tmp/local-repo [repository.local],LOCAL_WIKI_PATH,tmp/local-wiki,; Path for local wiki copy. Defaults to `tmp/local-wiki`,Repository.Local.LocalWikiPath,[repository.local]LOCAL_WIKI_PATH,{AppDataPath}/[repository.local]LOCAL_WIKI_PATH,{AppDataPath}/tmp/local-wiki [repository.upload],TEMP_PATH,data/tmp/uploads,; Path for uploads. Defaults to `data/tmp/uploads` (tmp gets deleted on gitea restart),Repository.Upload.TempPath,[repository.upload]TEMP_PATH,{AppWorkPath}/[repository.upload]TEMP_PATH,{AppWorkPath}/data/tmp/uploads [server],SSH_ROOT_PATH,,; Root path of SSH directory default is '~/.ssh' but you have to use '/home/git/.ssh'.,SSH.RootPath,{homeDir}/.ssh,, [server],SSH_KEY_TEST_PATH,,; Directory to create temporary files when test public key using ssh-keygen ; default is system temporary directory.,SSH.KeyTestPath,[server]SSH_KEY_TEST_PATH,,os.TempDir() [server],LFS_CONTENT_PATH,data/lfs,; Where your lfs files put on default is data/lfs.,LFS.ContentPath,[server]LFS_CONTENT_PATH,{AppWorkPath}/{[server]LFS_CONTENT_PATH},{AppDataPath}/lfs [database],PATH,data/gitea.db,; For "sqlite3" and "tidb" use absolute path when you start as service,DbCfg.Path,,,data/gitea.db [indexer],ISSUE_INDEXER_PATH,indexers/issues.bleve,,Indexer.IssuePath,[indexer]ISSUE_INDEXER_PATH,{AppWorkPath}/[indexer]ISSUE_INDEXER_PATH,{AppDataPath}/indexers/issues.bleve [indexer],REPO_INDEXER_PATH,indexers/repos.bleve,,Indexer.RepoPath,[indexer]REPO_INDEXER_PATH,{AppWorkPath}/[indexer]REPO_INDEXER_PATH,{AppDataPath}/indexers/repos.bleve [session],PROVIDER_CONFIG,data/sessions,; Provider config options ; file: session file path e.g. `data/sessions`,SessionConfig.Provider,[session]PROVIDER_CONFIG,{AppWorkPath}/[session]PROVIDER_CONFIG,{AppDataPath}/session [picture],AVATAR_UPLOAD_PATH,data/avatars,,AvatarUploadPath,[picture]AVATAR_UPLOAD_PATH,{AppWorkPath}/[picture]AVATAR_UPLOAD_PATH,{AppDataPath}/avatars [attachment],PATH,data/attachments,; Path for attachments. Defaults to `data/attachments`,AttachmentPath,[attachment]PATH,{AppWorkPath}/[attachment]PATH,{AppDataPath}/attachments [log],ROOT_PATH,,,LogRootPath,[log]ROOT_PATH,,{AppWorkPath}/log