Initial commit (code only without large binaries)
This commit is contained in:
17
EdgeCommon/build/configs/brand.yaml
Normal file
17
EdgeCommon/build/configs/brand.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
# 品牌配置
|
||||
brand:
|
||||
# 官方站点域名
|
||||
officialSite: "https://goedge.cn"
|
||||
|
||||
# 文档站点域名(可以与官方站点不同)
|
||||
docsSite: "https://goedge.cn"
|
||||
|
||||
# 文档路径前缀
|
||||
docsPathPrefix: "/docs"
|
||||
|
||||
# 默认部署路径
|
||||
defaultInstallPath: "/usr/local/goedge"
|
||||
|
||||
# 产品名称
|
||||
productName: "GoEdge"
|
||||
|
||||
31
EdgeCommon/build/configs/ip_library.yaml
Normal file
31
EdgeCommon/build/configs/ip_library.yaml
Normal file
@@ -0,0 +1,31 @@
|
||||
# IP 库配置
|
||||
ipLibrary:
|
||||
# 类型:default(原有实现)或 maxmind
|
||||
type: default
|
||||
|
||||
# MaxMind 配置(当 type 为 maxmind 时使用)
|
||||
maxmind:
|
||||
# City 数据库路径(包含 Country 和 City 信息)
|
||||
# 示例:/usr/local/share/GeoIP2/GeoLite2-City.mmdb
|
||||
cityDBPath: ""
|
||||
|
||||
# ASN 数据库路径(可选,用于获取 ISP 信息)
|
||||
# 示例:/usr/local/share/GeoIP2/GeoLite2-ASN.mmdb
|
||||
asnDBPath: ""
|
||||
|
||||
# 自动更新配置
|
||||
autoUpdate:
|
||||
# 是否启用自动更新
|
||||
enabled: false
|
||||
|
||||
# MaxMind 许可证密钥(必需)
|
||||
# 获取方式:https://www.maxmind.com/en/accounts/current/license-key
|
||||
licenseKey: ""
|
||||
|
||||
# 更新 URL(可选,默认使用 MaxMind 官方)
|
||||
updateURL: "https://download.maxmind.com/app/geoip_download"
|
||||
|
||||
# 更新间隔(如 "7d", "24h", "1h30m")
|
||||
# 默认:7d(7天)
|
||||
updateInterval: "7d"
|
||||
|
||||
Reference in New Issue
Block a user