mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-08 22:48:46 +00:00
fix docker service discovery #343
This commit is contained in:
parent
f06be8ca94
commit
ba428cf3ae
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ export async function servicesFromDocker() {
|
||||||
let constructedService = null;
|
let constructedService = null;
|
||||||
|
|
||||||
Object.keys(container.Labels).forEach((label) => {
|
Object.keys(container.Labels).forEach((label) => {
|
||||||
if (label.startsWith("homepage")) {
|
if (label.startsWith("homepage.")) {
|
||||||
if (!constructedService) {
|
if (!constructedService) {
|
||||||
constructedService = {
|
constructedService = {
|
||||||
container: container.Names[0].replace(/^\//, ""),
|
container: container.Names[0].replace(/^\//, ""),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue