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

Docker-compose: access to the Harbor via two URLs #20420

Open
SterhLight opened this issue May 13, 2024 · 2 comments
Open

Docker-compose: access to the Harbor via two URLs #20420

SterhLight opened this issue May 13, 2024 · 2 comments
Labels
help wanted The issues that is valid but needs help from community

Comments

@SterhLight
Copy link

Is it possible in the harbor.yml file to assign a harbor to 2 hostnames at once, so that you can access the harbor using these different links?
And if not, are there any plans to add this functionality? It is required to reserve access to the service.

@wy65701436
Copy link
Contributor

No, we do not have the plan for this. But, you might can leverage K8s to simulate it. Which kind of scenario that requires two hostnames for one harbor instance?

@SterhLight
Copy link
Author

Which kind of scenario that requires two hostnames for one harbor instance?

it's simple. We have two servers, the first is the main one, the second is the backup one. The backup server is replicated with the main one. When the main one breaks down, we will assign its DNS name to the IP address of the backup server. For this you need two URLs. One is replicated, and the second matches the URL of the main server. I really hope I was able to explain it clearly.

@wy65701436 wy65701436 added the help wanted The issues that is valid but needs help from community label May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted The issues that is valid but needs help from community
Projects
None yet
Development

No branches or pull requests

2 participants