-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Enhancement: Add service discovery support for multiple homepage instances #2340
Conversation
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 really need the .instance.
part?
It prevents ambiguity and collisions with existing options. Without, you would have to compare to each possible option name to know, if it's an instance name or just an option.
How would it know, if this is an instance name or just a new homepage option. |
Ah, yea I guess I see youre using it to allow some global settings and some instance settings. Has this been requested? |
I think I saw a similar request on discord too. |
Gotcha thanks. We’ll take a look when we can, looks good from my phone :) |
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.
I like this and it works well in my testing, allows for more than just e.g. changing an href, you can of course completely change a group, icon, whatever between two instances (have to say, in general Im not a two-instances fan, but thats my problem).
I debated the naming scheme a bit but I think thats just pedantic, this isnt so out of line with typical docker label conventions.
Thanks for the PR
…0.8.2@0c033b5 (#15369) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [ghcr.io/gethomepage/homepage](https://github.com/gethomepage/homepage) | patch | `v0.8.0` -> `v0.8.2` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>gethomepage/homepage (ghcr.io/gethomepage/homepage)</summary> ### [`v0.8.2`](https://github.com/gethomepage/homepage/releases/tag/v0.8.2) [Compare Source](https://github.com/gethomepage/homepage/compare/v0.8.0...v0.8.2) #### Notice This release fixes an issue in v0.8.1 that breaks homepage for some users #### What's Changed - Feature: Added timeStyle to date format for custom API by [@​azizbna](https://github.com/azizbna) in [https://github.com/gethomepage/homepage/pull/2294](https://github.com/gethomepage/homepage/pull/2294) - Enhancement: open the searchbox on paste by [@​Faqar](https://github.com/Faqar) in [https://github.com/gethomepage/homepage/pull/2320](https://github.com/gethomepage/homepage/pull/2320) - Fix: dont set pinned icon if custom favicon by [@​shamoon](https://github.com/shamoon) in [https://github.com/gethomepage/homepage/pull/2326](https://github.com/gethomepage/homepage/pull/2326) - Fix: sum throughput data for docker stats by [@​shamoon](https://github.com/shamoon) in [https://github.com/gethomepage/homepage/pull/2334](https://github.com/gethomepage/homepage/pull/2334) - Fix: Disable override white bkgd with card blur by [@​shamoon](https://github.com/shamoon) in [https://github.com/gethomepage/homepage/pull/2336](https://github.com/gethomepage/homepage/pull/2336) - Documentation: add Longhorn example by [@​Aesop7](https://github.com/Aesop7) in [https://github.com/gethomepage/homepage/pull/2353](https://github.com/gethomepage/homepage/pull/2353) - Enhancement: Add service discovery support for multiple homepage instances by [@​timo95](https://github.com/timo95) in [https://github.com/gethomepage/homepage/pull/2340](https://github.com/gethomepage/homepage/pull/2340) - Enhancement: Add configurable refresh interval and points for glances service by [@​ni0ki](https://github.com/ni0ki) in [https://github.com/gethomepage/homepage/pull/2363](https://github.com/gethomepage/homepage/pull/2363) - Fix: dont ignore empty string for kubernetes podSelector by [@​shamoon](https://github.com/shamoon) in [https://github.com/gethomepage/homepage/pull/2372](https://github.com/gethomepage/homepage/pull/2372) - Fix: show mem / cpu stats for k8s partial health status by [@​shamoon](https://github.com/shamoon) in [https://github.com/gethomepage/homepage/pull/2378](https://github.com/gethomepage/homepage/pull/2378) - Enhancement: Use `hasFile` instead of `isAvailable` for Radarr integr… by [@​denispapec](https://github.com/denispapec) in [https://github.com/gethomepage/homepage/pull/2374](https://github.com/gethomepage/homepage/pull/2374) - Feature: Support previous days option in Calendar Agenda by [@​denispapec](https://github.com/denispapec) in [https://github.com/gethomepage/homepage/pull/2375](https://github.com/gethomepage/homepage/pull/2375) - Feature: Implement iCal integration for calendar/agenda, improve calendar/agenda styling by [@​denispapec](https://github.com/denispapec) in [https://github.com/gethomepage/homepage/pull/2376](https://github.com/gethomepage/homepage/pull/2376) - Documentation: Add ai bot by [@​shamoon](https://github.com/shamoon) in [https://github.com/gethomepage/homepage/pull/2383](https://github.com/gethomepage/homepage/pull/2383) #### New Contributors - [@​azizbna](https://github.com/azizbna) made their first contribution in [https://github.com/gethomepage/homepage/pull/2294](https://github.com/gethomepage/homepage/pull/2294) - [@​Faqar](https://github.com/Faqar) made their first contribution in [https://github.com/gethomepage/homepage/pull/2320](https://github.com/gethomepage/homepage/pull/2320) - [@​timo95](https://github.com/timo95) made their first contribution in [https://github.com/gethomepage/homepage/pull/2340](https://github.com/gethomepage/homepage/pull/2340) - [@​ni0ki](https://github.com/ni0ki) made their first contribution in [https://github.com/gethomepage/homepage/pull/2363](https://github.com/gethomepage/homepage/pull/2363) **Full Changelog**: gethomepage/homepage@v0.8.0...v0.8.2 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy42OC4xIiwidXBkYXRlZEluVmVyIjoiMzcuNjguMSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciJ9-->
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion or issue for related concerns. |
Proposed change
Adds support for scoping docker labels to specific homepage instances.
To limit a label to an instance, insert
.instance.{{instanceName}}
after thehomepage
prefix.In this example it is used with two homepage instances for internal and public access.
Type of change
Checklist:
pnpm lint
(see development guidelines).