From 7c7b334f5c302fa5e6a4e43806db31570a8a4f2e Mon Sep 17 00:00:00 2001 From: ssdfasd <2156608475@qq.com> Date: Fri, 20 Mar 2026 13:48:38 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0=20gitignore=20?= =?UTF-8?q?=E5=BF=BD=E7=95=A5=E8=BF=90=E8=A1=8C=E6=97=B6=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=EF=BC=8C=E4=BF=9D=E7=95=99=20Gitea=20=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 11 ++++- remote/gitea/custom/conf/app.ini | 75 -------------------------------- 2 files changed, 10 insertions(+), 76 deletions(-) diff --git a/.gitignore b/.gitignore index bdc24db..d48221b 100644 --- a/.gitignore +++ b/.gitignore @@ -42,4 +42,13 @@ tools/mineru/__pycache__/ tools/blog/__pycache__/ # Notebook pydemos backup -notebook/ \ No newline at end of file +notebook/ + +# Gitea data (运行时数据,不需要版本控制) +remote/gitea/data/ + +# SDD service (来自独立仓库) +services/xcsdd/ + +# Terminal service +services/xcterminal/ \ No newline at end of file diff --git a/remote/gitea/custom/conf/app.ini b/remote/gitea/custom/conf/app.ini index 3814077..56472ef 100644 --- a/remote/gitea/custom/conf/app.ini +++ b/remote/gitea/custom/conf/app.ini @@ -1,77 +1,2 @@ -APP_NAME = Xuanchi Git -RUN_USER = xuanchi -WORK_PATH = C:\Users\xuanchi\Desktop\remote\gitea -RUN_MODE = prod - -[database] -DB_TYPE = sqlite3 -HOST = 127.0.0.1:5432 -NAME = gitea -USER = gitea -PASSWD = -SCHEMA = -SSL_MODE = disable -PATH = C:\Users\xuanchi\Desktop\remote\gitea\data\gitea.db -LOG_SQL = false - -[repository] -ROOT = C:/Users/xuanchi/Desktop/remote/gitea/data/gitea-repositories - [server] -SSH_DOMAIN = localhost -DOMAIN = localhost HTTP_PORT = 3001 -ROOT_URL = http://localhost:3001/ -APP_DATA_PATH = C:\Users\xuanchi\Desktop\remote\gitea\data -DISABLE_SSH = false -SSH_PORT = 22 -LFS_START_SERVER = true -LFS_JWT_SECRET = R7kPD0XqG0zTeGhLu1r8t4h-Y3FfofYW1_6GPhNnVZg -OFFLINE_MODE = true - -[lfs] -PATH = C:/Users/xuanchi/Desktop/remote/gitea/data/lfs - -[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.localhost - -[openid] -ENABLE_OPENID_SIGNIN = true -ENABLE_OPENID_SIGNUP = true - -[cron.update_checker] -ENABLED = false - -[session] -PROVIDER = file - -[log] -MODE = console -LEVEL = info -ROOT_PATH = C:/Users/xuanchi/Desktop/remote/gitea/log - -[repository.pull-request] -DEFAULT_MERGE_STYLE = merge - -[repository.signing] -DEFAULT_TRUST_MODEL = committer - -[security] -INSTALL_LOCK = true -INTERNAL_TOKEN = eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYmYiOjE3NzI2Mzc5MjN9.PnM7mBbYjj8dz5dHYDwncvicVHOllHb0cWM9lSUdqIM -PASSWORD_HASH_ALGO = pbkdf2 - -[oauth2] -JWT_SECRET = aLiiycJwXwTxX9ZaE2By40OGAxkVcPsOwz-WzJWHfzA