Harbor – rekonfiguracja


Do zarządzania Harborem używa się narzędzia zwanym docker-compose. W artykule poniżej przedstawię kilka przydatnych poleceń dziki, którym zatrzymamy i uruchomimy Harbora po jego rekonfiguracji rekonfiguracji .
Najważniejsze, żeby wszystkie komendy uruchamiać w katalogu, w którym znajduje się plik docker-compose.yml. Jest to plik znajdujący się samym katalogu instalacyjnym harbora:

root@HARBORPOC01:~/harbor# ls -l

drwxr-xr-x 3 root root 4096 Apr 11 2024 common
-rw-r–r– 1 root root 3643 Apr 8 2024 common.sh
-rw-r–r– 1 root root 6099 Sep 19 00:36 docker-compose.yml
-rw-r–r– 1 root root 15682 Sep 18 14:17 harbor.yml
-rw-r–r– 1 root root 13972 Apr 8 2024 harbor.yml.tmpl
-rwxr-xr-x 1 root root 1975 Apr 8 2024 install.sh
-rw-r–r– 1 root root 11347 Apr 8 2024 LICENSE
-rwxr-xr-x 1 root root 1882 Apr 8 2024 prepare


Zatrzymywanie Harbor

W celu zatrzymać Harbor’a, należy użyć poniższego polecenia:

sudo docker compose stop

W wyniku otrzymamy:

Stopping nginx              ... done
Stopping harbor-portal ... done
Stopping harbor-jobservice ... done
Stopping harbor-core ... done
Stopping registry ... done
Stopping redis ... done
Stopping registryctl ... done
Stopping harbor-db ... done
Stopping harbor-log ... done

Restartowanie Harbor

Aby ponownie uruchomić Harbor’a, należy użyć poniższego polecenia:

sudo docker compose start

W wyniku otrzymamy:

Starting log      ... done
Starting registry ... done
Starting registryctl ... done
Starting postgresql ... done
Starting core ... done
Starting portal ... done
Starting redis ... done
Starting jobservice ... done
Starting proxy ... done

Rekonfiguracja Harbor

Czasami występuje potrzeba przekonfigurowania działania Harbor, np.: zmiana ścieżki do certyfikatów etc. Aby to wykonać należy zmienić parametry w pliku konfiguracyjnym harbor.yml.
W tym celu należy wykonać poniższe kroki:

  1. Zatrzymaj Harbor:
    sudo docker compose down -v
  2. Zaktualizuj plik harbor.yml:
    vim harbor.yml
  3. Dokonaj odpowiednich zmian w pliku harbor.yml
  4. Uruchom skrypt prepare, aby wprowadzić zmiany w konfiguracji:
    sudo ./prepare
  5. Utwórz i uruchom ponownie instancję Harbor:
    sudo docker compose up -d

Inne przydatne polecenia

  1. Usunięcie kontenerów Harbor z zachowaniem danych obrazów i plików bazy danych:
    sudo docker compose down -v
  2. Usunięcie bazy danych Harbor oraz danych obrazów przed czystą reinstalacją:
    rm -r /data/database
    rm -r /data/registry
    rm -r /data/redis

Dziki wyżej wymienionym poleceniom, można wykonać rekonfigurację Harbor’a w zależności od potrzeb, takich jak dodawanie nowych funkcji czy czysta reinstalacji.


117 responses to “Harbor – rekonfiguracja”

  1. Với định hướng phát triển bền vững, và phương châm “Hài Lòng Bạn Đi, Vui Lòng Bạn Đến“. tải 66b ngày càng khẳng định vị thế của mình trong lĩnh vực cung cấp dịch vụ giải trí số khu vực châu Á.

  2. Thinking about trying 8sbet? I gave it a go last weekend. It’s alright, nothing groundbreaking, but a solid option if you’re looking for something new. Might be worth checking the odds. See what you think! 8sbet

  3. Just wanted to give a shoutout to goo88net. I’ve had some solid wins there. The interface is slick and the payouts are quick. Check it out and see if it’s your lucky place too. Go explore goo88net.

  4. xn88 com Một số trò chơi nổi bật tại nhà cái được cập nhật phải kể đến như Pubg, liên minh huyền thoại, CS:GO, FIFA, DOTA 2,….Mỗi trận đấu luôn được các chuyên gia nhà cái phân tích và đưa ra để anh em có cơ hội vào những kèo cược ngon, nâng cao cơ hội chiến thắng.

  5. 291bet is where the action is for me! Reliable, fun interface, and I’ve had some good luck playing here. Give it a shot if you’re looking for a good time 291bet

  6. slot365 app luôn quan tâm và tri ân những người lâu năm bằng những chương trình khuyến mãi độc quyền. Nhà cái có hệ thống xếp hạng thành viên dựa trên số lần chơi nạp tiền.

  7. slot365 casino IM và TF Gaming chắc chắn sẽ không làm bạn thất vọng khi cung cấp hơn 35+ tựa game cá cược Thể thao điện tử cực kỳ hấp dẫn. Bạn có thể xem nhanh tỷ lệ cược sớm – trước trận đấu để bắt ngay kèo thơm cho riêng mình: Kèo chấp bản đồ, kèo tổng số Round, kèo Chẵn/Lẻ,…

  8. I like what you guys are up too. Such intelligent work and reporting! Keep up the excellent works guys I have incorporated you guys to my blogroll. I think it’ll improve the value of my website 🙂

  9. Woah! I’m really digging the template/theme of this site. It’s simple, yet effective. A lot of times it’s hard to get that “perfect balance” between superb usability and visual appearance. I must say you’ve done a amazing job with this. Additionally, the blog loads super quick for me on Chrome. Superb Blog!

  10. Can I simply say what a relief to find somebody who truly is aware of what theyre talking about on the internet. You positively know the way to convey a difficulty to light and make it important. More people need to read this and perceive this side of the story. I cant imagine youre not more well-liked because you definitely have the gift.

  11. Thanks for your post made here. One thing I’d like to say is always that most professional career fields consider the Bachelor’s Degree as the entry level standard for an online diploma. Though Associate College diplomas are a great way to start out, completing ones Bachelors reveals many good opportunities to various jobs, there are numerous online Bachelor Diploma Programs available from institutions like The University of Phoenix, Intercontinental University Online and Kaplan. Another issue is that many brick and mortar institutions give Online variants of their degree programs but typically for a significantly higher payment than the firms that specialize in online degree programs.

  12. Hey! Quick question that’s totally off topic. Do you know how to make your site mobile friendly? My web site looks weird when viewing from my apple iphone. I’m trying to find a template or plugin that might be able to resolve this issue. If you have any suggestions, please share. Thank you!

  13. My developer is trying to persuade me to move to .net from PHP. I have always disliked the idea because of the expenses. But he’s tryiong none the less. I’ve been using WordPress on a number of websites for about a year and am concerned about switching to another platform. I have heard very good things about blogengine.net. Is there a way I can transfer all my wordpress posts into it? Any kind of help would be really appreciated!

  14. Thanks for your exciting article. Other thing is that mesothelioma is generally due to the breathing of fibres from asbestos fiber, which is a carcinogenic material. It truly is commonly observed among workers in the building industry who have long experience of asbestos. It is also caused by moving into asbestos covered buildings for an extended time of time, Your age plays a crucial role, and some folks are more vulnerable on the risk when compared with others.

  15. I know this if off topic but I’m looking into starting my own weblog and was wondering what all is needed to get setup? I’m assuming having a blog like yours would cost a pretty penny? I’m not very internet savvy so I’m not 100 positive. Any suggestions or advice would be greatly appreciated. Thanks

  16. You actually make it seem so easy with your presentation but I find this matter to be really something that I think I would never understand. It seems too complex and very broad for me. I’m looking forward for your next post, I will try to get the hang of it!

  17. One more thing to say is that an online business administration diploma is designed for individuals to be able to without problems proceed to bachelor’s degree courses. The Ninety credit education meets the lower bachelor diploma requirements then when you earn the associate of arts in BA online, you’ll have access to the most recent technologies within this field. Some reasons why students want to be able to get their associate degree in business is because they may be interested in this area and want to get the general education necessary before jumping right bachelor education program. Many thanks for the tips you really provide in the blog.

  18. Thanks for your article. I would love to say that the health insurance broker also works well with the benefit of the coordinators of a group insurance cover. The health insurance professional is given a listing of benefits desired by an individual or a group coordinator. What any broker does is look for individuals or maybe coordinators which usually best fit those requirements. Then he gifts his recommendations and if both sides agree, the particular broker formulates an agreement between the two parties.

  19. I have been exploring for a bit for any high-quality articles or weblog posts in this kind of area . Exploring in Yahoo I ultimately stumbled upon this site. Studying this info So i am satisfied to convey that I have a very just right uncanny feeling I found out just what I needed. I so much unquestionably will make sure to don?t forget this site and provides it a look regularly.

  20. One other issue is when you are in a predicament where you do not possess a co-signer then you may want to try to wear out all of your school funding options. You could find many grants and other free college funding that will give you money to aid with education expenses. Many thanks for the post.

  21. Hello, Neat post. There is a problem together with your web site in web explorer, could check this? IE nonetheless is the market leader and a huge component to folks will omit your magnificent writing because of this problem.

  22. One thing I’d prefer to say is that often car insurance cancellations is a dreaded experience so if you’re doing the suitable things being a driver you’ll not get one. Many people do obtain the notice that they have been officially dropped by their insurance company they have to fight to get added insurance after a cancellation. Affordable auto insurance rates are frequently hard to get from cancellation. Knowing the main reasons concerning the auto insurance cancellations can help individuals prevent losing one of the most important privileges available. Thanks for the thoughts shared through your blog.

  23. Excellent read, I just passed this onto a colleague who was doing a little research on that. And he just bought me lunch since I found it for him smile Thus let me rephrase that: Thank you for lunch!

  24. great post, very informative. I wonder why the other experts of this sector do not notice this. You must continue your writing. I am sure, you’ve a huge readers’ base already!

  25. I do agree with all of the ideas you have presented in your post. They are really convincing and will certainly work. Still, the posts are too short for beginners. Could you please extend them a bit from next time? Thanks for the post.

  26. Yesterday, while I was at work, my cousin stole my apple ipad and tested to see if it can survive a 25 foot drop, just so she can be a youtube sensation. My apple ipad is now destroyed and she has 83 views. I know this is completely off topic but I had to share it with someone!

  27. Admiring the time and effort you put into your blog and detailed information you provide. It’s good to come across a blog every once in a while that isn’t the same unwanted rehashed information. Fantastic read! I’ve bookmarked your site and I’m adding your RSS feeds to my Google account.

  28. I am curious to find out what blog system you happen to be utilizing? I’m experiencing some small security problems with my latest site and I’d like to find something more risk-free. Do you have any recommendations?

  29. Can I simply say what a reduction to find someone who truly is aware of what theyre speaking about on the internet. You undoubtedly know how to convey a problem to gentle and make it important. More individuals must learn this and understand this facet of the story. I cant imagine youre not more common because you positively have the gift.

  30. Good day! I know this is kind of off topic but I was wondering which blog platform are you using for this site? I’m getting fed up of WordPress because I’ve had problems with hackers and I’m looking at options for another platform. I would be fantastic if you could point me in the direction of a good platform.

  31. When I originally commented I clicked the “Notify me when new comments are added” checkbox and now each time a comment is added I get four e-mails with the same comment. Is there any way you can remove people from that service? Many thanks!

  32. Hey there I am so glad I found your webpage, I really found you by error, while I was searching on Digg for something else, Regardless I am here now and would just like to say kudos for a incredible post and a all round exciting blog (I also love the theme/design), I don’t have time to read through it all at the moment but I have book-marked it and also included your RSS feeds, so when I have time I will be back to read more, Please do keep up the fantastic job.

  33. Thanks for expressing your ideas with this blog. Also, a misconception regarding the financial institutions intentions while talking about foreclosed is that the standard bank will not take my installments. There is a fair bit of time that the bank is going to take payments from time to time. If you are very deep within the hole, they will commonly desire that you pay the particular payment entirely. However, that doesn’t mean that they will not take any sort of repayments at all. If you and the loan company can find a way to work something out, the foreclosure method may end. However, when you continue to miss payments underneath the new approach, the foreclosure process can pick up where it was left off.

  34. Thanks for sharing your ideas. The first thing is that learners have an alternative between federal government student loan as well as a private education loan where it can be easier to go for student loan debt consolidation than with the federal education loan.

  35. Just want to say your article is as amazing. The clearness in your post is just excellent and i could assume you are an expert on this subject. Well with your permission let me to grab your RSS feed to keep updated with forthcoming post. Thanks a million and please keep up the rewarding work.

  36. We are a group of volunteers and starting a brand new scheme in our community. Your web site offered us with useful info to paintings on. You’ve done an impressive task and our entire neighborhood shall be thankful to you.

  37. Thank you a bunch for sharing this with all of us you really know what you’re talking about! Bookmarked. Kindly also talk over with my web site =). We can have a hyperlink trade arrangement between us!

  38. I have learned a few important things as a result of your post. I will also like to state that there may be situation in which you will have a loan and don’t need a cosigner such as a Federal Student Aid Loan. But when you are getting a loan through a common lender then you need to be made ready to have a cosigner ready to enable you to. The lenders are going to base their very own decision on a few variables but the most important will be your credit worthiness. There are some financial institutions that will furthermore look at your work history and decide based on that but in many cases it will hinge on your score.

  39. Youre so cool! I dont suppose Ive learn something like this before. So nice to search out any person with some original thoughts on this subject. realy thank you for beginning this up. this website is something that’s needed on the net, somebody with just a little originality. helpful job for bringing one thing new to the web!

  40. Just desire to say your article is as astonishing. The clarity on your submit is just excellent and that i can assume you’re an expert in this subject. Fine together with your permission allow me to grasp your RSS feed to stay updated with imminent post. Thank you a million and please continue the enjoyable work.

  41. Thanks for these pointers. One thing I should also believe is that often credit cards providing a 0 rate often attract consumers together with zero rate of interest, instant acceptance and easy internet balance transfers, nonetheless beware of the number one factor that will certainly void your own 0 easy road annual percentage rate and throw anybody out into the very poor house in no time.

  42. Someone essentially help to make seriously posts I would state. This is the first time I frequented your web page and thus far? I amazed with the research you made to make this particular publish amazing. Excellent job!

  43. Just want to say your article is as surprising. The clarity in your post is simply spectacular and i could assume you are an expert on this subject. Fine with your permission let me to grab your RSS feed to keep updated with forthcoming post. Thanks a million and please continue the rewarding work.

  44. Have you ever considered about including a little bit more than just your articles? I mean, what you say is valuable and everything. However think about if you added some great graphics or video clips to give your posts more, “pop”! Your content is excellent but with pics and video clips, this site could definitely be one of the greatest in its niche. Good blog!

  45. That is a very good tip particularly to those fresh to the blogosphere. Brief but very accurate info… Many thanks for sharing this one. A must read article!

  46. One more important component is that if you are a senior, travel insurance for pensioners is something you should make sure you really think about. The more aged you are, the harder at risk you will be for having something poor happen to you while in foreign countries. If you are not necessarily covered by a number of comprehensive insurance, you could have a number of serious challenges. Thanks for giving your advice on this weblog.

  47. I needed to thank you for this very good read!! I certainly enjoyed every little bit of it. I have you saved as a favorite to check out new things you post…

  48. Thanks for your article. What I want to say is that while searching for a good on the web electronics shop, look for a internet site with total information on key elements such as the level of privacy statement, safety measures details, payment methods, and other terms along with policies. Often take time to see the help along with FAQ pieces to get a superior idea of what sort of shop operates, what they can perform for you, and how you can make use of the features.

  49. In accordance with my study, after a the foreclosure home is offered at a bidding, it is common with the borrower to still have a remaining balance on the loan. There are many financial institutions who try to have all expenses and liens paid by the up coming buyer. Nonetheless, depending on certain programs, rules, and state legislation there may be several loans that aren’t easily resolved through the shift of personal loans. Therefore, the responsibility still rests on the lender that has got his or her property in foreclosure process. Thank you for sharing your notions on this blog site.

  50. Thanks for the suggestions you reveal through this website. In addition, quite a few young women exactly who become pregnant don’t even aim to get health insurance because they fear they would not qualify. Although many states now require that insurers produce coverage no matter what about the pre-existing conditions. Prices on these guaranteed options are usually greater, but when taking into consideration the high cost of medical care bills it may be some sort of a safer route to take to protect your own financial potential.

  51. Please let me know if you’re looking for a article writer for your weblog. You have some really good posts and I believe I would be a good asset. If you ever want to take some of the load off, I’d love to write some content for your blog in exchange for a link back to mine. Please shoot me an email if interested. Kudos!

  52. Hey there! This is my first visit to your blog! We are a group of volunteers and starting a new initiative in a community in the same niche. Your blog provided us useful information to work on. You have done a outstanding job!

  53. Admiring the hard work you put into your site and in depth information you present. It’s awesome to come across a blog every once in a while that isn’t the same unwanted rehashed material. Excellent read! I’ve bookmarked your site and I’m including your RSS feeds to my Google account.

  54. What?s Happening i am new to this, I stumbled upon this I have found It absolutely useful and it has aided me out loads. I hope to contribute & help other users like its helped me. Good job.

  55. This is without a doubt one of the finest articles I’ve read on this topic! The author’s thorough knowledge and zeal for the subject shine through in every paragraph. I’m so thankful for coming across this piece as it has enriched my knowledge and stimulated my curiosity even further. Thank you, author, for taking the time to craft such a phenomenal article!

  56. One thing I would like to say is before buying more laptop memory, check out the machine into which it could well be installed. If the machine is usually running Windows XP, for instance, the particular memory threshold is 3.25GB. Applying more than this would just constitute a waste. Make sure one’s motherboard can handle this upgrade quantity, as well. Good blog post.

  57. Great items from you, man. I have understand your stuff prior to and you’re just too magnificent. I really like what you’ve acquired here, certainly like what you’re stating and the way by which you say it. You make it entertaining and you still take care of to keep it sensible. I cant wait to learn far more from you. That is really a great web site.

  58. I do agree with all the ideas you have presented in your post. They are really convincing and will certainly work. Still, the posts are too short for novices. Could you please extend them a little from next time? Thanks for the post.

  59. Your writing style is very unique in comparison to other people I have read stuff from. Many thanks for posting when you have the opportunity, Guess I will just book mark this page.

  60. I like what you guys are up too. Such intelligent work and reporting! Keep up the excellent works guys I?ve incorporated you guys to my blogroll. I think it’ll improve the value of my site 🙂

  61. There are certainly numerous particulars like that to take into consideration. That is a nice point to bring up. I supply the ideas above as common inspiration but clearly there are questions just like the one you deliver up where an important factor will probably be working in sincere good faith. I don?t know if greatest practices have emerged around things like that, however I am sure that your job is clearly recognized as a fair game. Both boys and girls really feel the impact of just a moment?s pleasure, for the rest of their lives.

  62. This web site is really a walk-via for the entire information you wished about this and didn?t know who to ask. Glimpse right here, and also you?ll undoubtedly discover it.

  63. Hey very nice site!! Man .. Excellent .. Amazing .. I’ll bookmark your blog and take the feeds also?I’m happy to find so many useful information here in the post, we need work out more strategies in this regard, thanks for sharing. . . . . .

Leave a Reply

Your email address will not be published. Required fields are marked *