Dragonfly2 icon indicating copy to clipboard operation
Dragonfly2 copied to clipboard

‌‌‌‌‌‌‌If I want to proxy both the container registry and Hugging Face, how should I set it up?

Open yetone opened this issue 1 year ago • 5 comments

It seems that only one proxy can be set up now. How do we set up two? We want to proxy both the container registry and Hugging Face.

image

yetone avatar May 15 '24 02:05 yetone

You can set the hugging face mirror, and then the containerd configuration passes X-Dragonfly-Registry to overwrite the hugging face mirror address.

image

gaius-qi avatar May 15 '24 03:05 gaius-qi

‌‌So that's how it can be done! Thank you!

yetone avatar May 15 '24 03:05 yetone

We are currently optimizing the documents and trying to make it better. Refer to https://github.com/dragonflyoss/d7y.io/issues/53.

gaius-qi avatar May 15 '24 03:05 gaius-qi

Sorry, I'm a bit confused here. What should I replace https://example.com with? Because I didn't see the relevant configuration in the helm values in this document.

image

yetone avatar May 15 '24 04:05 yetone

Sorry, I'm a bit confused here. What should I replace https://example.com with? Because I didn't see the relevant configuration in the helm values in this document.

image

If you have the other LFS repo, replace example url with the other LFS repo address. If using hugging face LFS repo, you can remove the example line.

gaius-qi avatar May 16 '24 02:05 gaius-qi