Update src/utils/config/service-helpers.js

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
Ajay Kristipati 2023-01-12 02:42:20 -05:00 committed by GitHub
parent 688b5b198e
commit ba9e2c4705
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,7 +60,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.${instance}`) || label.startsWith('homepage.')) { if (label.startsWith('homepage.')) {
if (!constructedService) { if (!constructedService) {
constructedService = { constructedService = {
container: container.Names[0].replace(/^\//, ""), container: container.Names[0].replace(/^\//, ""),