-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doc: add document about hot update mirror configurations #347
doc: add document about hot update mirror configurations #347
Conversation
9072311
to
72fc9aa
Compare
README.md
Outdated
@@ -170,6 +170,25 @@ Dragonfly supports both **mirror** mode and HTTP **proxy** mode to boost the con | |||
|
|||
`auth_through=false` means nydusd's authentication request will directly go to original registry rather than relayed by Dragonfly. | |||
|
|||
### Hot update mirror configurations | |||
In addition to setting the registry mirror in nydusd's json configuration file, `nydus-snapshotter` also supports hot update mirror configurations. You can set the configuration directory in nudus-snapshotter's toml configuration file with `remote.mirrors_config`. The null string for `remote.mirrors_config` means disable it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mean remote.mirrors_config.dir
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how about " empty remote.mirrors_config.dir
means disabling it`
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
README.md
Outdated
server = "https://p2p-nydus.com" | ||
[host] | ||
[host."http://127.0.0.1:65001"] | ||
auth_through = true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The suggested value of auth_through should be false
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
72fc9aa
to
fd92f1f
Compare
Signed-off-by: Bin Tang <tangbin.bin@bytedance.com>
fd92f1f
to
1e9b674
Compare
Signed-off-by: Bin Tang tangbin.bin@bytedance.com