Files
SMANAGE/GitMirror/config.example.ini
T

29 lines
707 B
INI
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
[gitea]
BaseUrl = https://git.gvsds.com
OrgName = GVSDS
# 留空则从 SecretsIni 的 [gitea] API_TOKEN 读取
ApiToken =
SecretsIni = D:\SMANAGE\secrets.ini
[github]
OrgName = GVSDS
# Fine-grained PAT:需 Contents 读写 + Administration 读写(自动建仓/归档)
Token =
# 源仓库删除时:archive=归档 | delete=真删 | ignore=忽略
OnRepoDeleted = archive
[mirror]
WorkDir = D:\SMANAGE\GitMirror\data
SyncIntervalMinutes = 15
BackfillOnStart = true
LfsEnabled = true
Concurrency = 1
# 留空则自动生成并写入 WorkDir/runtime.json
WebhookSecret =
[server]
Host = 0.0.0.0
Port = 8600
# 留空则自动生成并写入 WorkDir/runtime.json(请求头 X-Admin-Token)
AdminToken =