gitea configure
Posted lsgxeva
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了gitea configure相关的知识,希望对你有一定的参考价值。
gitea configure
app.ini
APP_NAME = Gitea: Git with a cup of tea RUN_USER = LSGX RUN_MODE = prod [oauth2] JWT_SECRET = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx [security] INTERNAL_TOKEN = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx INSTALL_LOCK = true SECRET_KEY = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx [database] DB_TYPE = sqlite3 HOST = 127.0.0.1:3306 NAME = gitea USER = lsgx PASSWD = qwe123 SSL_MODE = disable CHARSET = utf8 PATH = E:\gitservice\gitea\data\gitea.db [repository] ROOT = E:/gitservice/repositories [server] SSH_DOMAIN = 192.168.195.1 DOMAIN = 192.168.195.1 HTTP_PORT = 3000 ROOT_URL = http://192.168.195.1:3000/ DISABLE_SSH = false SSH_PORT = 22 LFS_START_SERVER = true LFS_CONTENT_PATH = E:/gitservice/gitea/data/lfs LFS_JWT_SECRET = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx OFFLINE_MODE = false START_SSH_SERVER = true LANDING_PAGE = explore [mailer] ENABLED = false [service] REGISTER_EMAIL_CONFIRM = false ENABLE_NOTIFY_MAIL = false DISABLE_REGISTRATION = false ALLOW_ONLY_EXTERNAL_REGISTRATION = false ENABLE_CAPTCHA = false REQUIRE_SIGNIN_VIEW = false DEFAULT_KEEP_EMAIL_PRIVATE = false DEFAULT_ALLOW_CREATE_ORGANIZATION = true DEFAULT_ENABLE_TIMETRACKING = true NO_REPLY_ADDRESS = noreply.example.org [picture] DISABLE_GRAVATAR = false ENABLE_FEDERATED_AVATAR = true [openid] ENABLE_OPENID_SIGNIN = true ENABLE_OPENID_SIGNUP = true [session] PROVIDER = file [log] MODE = file LEVEL = info ROOT_PATH = E:/gitservice/gitea/log
start_run.vbs
set wscriptObj = wscript.createObject("wscript.shell") wscriptObj.run "E:\gitservice\gitea\gitea-1.9-windows-4.0-amd64.exe", 0
reg_svc.bat
@echo off SET BINDIR=%~dp0 CD /D "%BINDIR%" sc create gitea start= auto binPath= ""%BINDIR%\gitea-1.9-windows-4.0-amd64.exe" web --config "%BINDIR%\custom\conf\app.ini"" pause
================ End
以上是关于gitea configure的主要内容,如果未能解决你的问题,请参考以下文章