feat: 004/phase 1
This commit is contained in:
@@ -18,6 +18,7 @@ Domain = "docker.hub.local"
|
||||
Upstream = "https://registry-1.docker.io"
|
||||
Proxy = ""
|
||||
Type = "docker" # 必填:docker|npm|go
|
||||
Module = "legacy" # 每个 Hub 使用的代理+缓存模块,默认为 legacy
|
||||
Username = "" # 可选:若填写需与 Password 同时出现
|
||||
Password = ""
|
||||
CacheTTL = 43200 # 可选: 覆盖全局缓存 TTL(秒)
|
||||
|
||||
@@ -15,6 +15,7 @@ Domain = "docker.hub.local"
|
||||
Upstream = "https://registry-1.docker.io"
|
||||
Proxy = ""
|
||||
Type = "docker" # docker|npm|go
|
||||
Module = "legacy"
|
||||
Username = ""
|
||||
Password = ""
|
||||
CacheTTL = 43200
|
||||
|
||||
@@ -15,6 +15,7 @@ Domain = "npm.hub.local"
|
||||
Upstream = "https://registry.npmjs.org"
|
||||
Proxy = ""
|
||||
Type = "npm" # docker|npm|go
|
||||
Module = "legacy"
|
||||
Username = ""
|
||||
Password = ""
|
||||
CacheTTL = 43200
|
||||
|
||||
Reference in New Issue
Block a user