Skip to content
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

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

Open
yetone opened this issue May 15, 2024 · 5 comments

Comments

@yetone
Copy link

yetone commented May 15, 2024

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
@gaius-qi
Copy link
Member

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

image

@yetone
Copy link
Author

yetone commented May 15, 2024

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

@gaius-qi
Copy link
Member

We are currently optimizing the documents and trying to make it better.
Refer to dragonflyoss/d7y.io#53.

@yetone
Copy link
Author

yetone commented May 15, 2024

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

@gaius-qi
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants