diff --git a/config/homepage/houston.svg b/config/homepage/houston.svg
index 731237a..3f399da 100644
--- a/config/homepage/houston.svg
+++ b/config/homepage/houston.svg
@@ -1 +1 @@
-
+
diff --git a/config/homepage/icons/houston.png b/config/homepage/icons/houston.png
new file mode 100644
index 0000000..3f399da
--- /dev/null
+++ b/config/homepage/icons/houston.png
@@ -0,0 +1 @@
+
diff --git a/config/homepage/icons/houston.svg b/config/homepage/icons/houston.svg
new file mode 100644
index 0000000..3f399da
--- /dev/null
+++ b/config/homepage/icons/houston.svg
@@ -0,0 +1 @@
+
diff --git a/docker-compose.yml b/docker-compose.yml
index 055da8a..5dce164 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -212,6 +212,7 @@ services:
restart: always
volumes:
- ./config/homepage:/app/config
+ - ./config/homepage/icons:/app/public/icons:ro
environment:
- HOMEPAGE_ALLOWED_HOSTS=${HOMEPAGE_DOMAIN:-dashboard.${DOMAIN}}
networks:
diff --git a/scripts/appctl_engine.py b/scripts/appctl_engine.py
index d4da1af..9d0df10 100755
--- a/scripts/appctl_engine.py
+++ b/scripts/appctl_engine.py
@@ -734,6 +734,32 @@ def cmd_sync_homepage(args):
# Group by homepage group
groups = {}
+
+ # 1. Add Core Infrastructure services
+ core_group = "Core Infrastructure"
+ groups[core_group] = []
+ core_metadata = {
+ "traefik": {"title": "Traefik", "icon": "traefik.png", "weight": 10},
+ "authelia": {"title": "Authelia", "icon": "authelia.png", "weight": 20},
+ "portainer": {"title": "Portainer", "icon": "portainer.png", "weight": 30},
+ "dozzle": {"title": "Dozzle", "icon": "dozzle.png", "weight": 40},
+ }
+ for svc in get_core_services():
+ name = svc["name"]
+ if name in core_metadata and svc["domain"] != "internal":
+ meta = core_metadata[name]
+ groups[core_group].append({
+ "title": meta["title"],
+ "icon": meta["icon"],
+ "href": f"https://{svc['domain']}",
+ "description": svc["desc"],
+ "server": "my-docker",
+ "container": svc["container"],
+ "weight": meta["weight"],
+ })
+
+ # 2. Add Site applications
+ icons_dir = os.path.join(homepage_dir, "icons")
for app in visible_apps:
hp = app.get("homepage", {})
group_name = hp.get("group", "Applications")
@@ -746,6 +772,24 @@ def cmd_sync_homepage(args):
weight = hp.get("weight", 50)
desc = app.get("description", "")
+ # Resolve custom local icons mounted in config/homepage/icons
+ if (
+ os.path.isdir(icons_dir)
+ and not icon.startswith(("/", "http"))
+ and (
+ os.path.isfile(os.path.join(icons_dir, icon))
+ or os.path.isfile(os.path.join(icons_dir, f"{icon}.svg"))
+ or os.path.isfile(os.path.join(icons_dir, f"{icon}.png"))
+ )
+ ):
+ if not icon.endswith((".svg", ".png", ".webp")):
+ if os.path.isfile(os.path.join(icons_dir, f"{icon}.svg")):
+ icon = f"/icons/{icon}.svg"
+ else:
+ icon = f"/icons/{icon}.png"
+ else:
+ icon = f"/icons/{icon}"
+
card_data = {
"title": card_title,
"icon": icon,
@@ -758,7 +802,13 @@ def cmd_sync_homepage(args):
groups[group_name].append(card_data)
# Preferred group order
- preferred_order = ["Knowledge & Notes", "Media & Productivity", "Development & AI", "Applications"]
+ preferred_order = [
+ "Core Infrastructure",
+ "Knowledge & Notes",
+ "Media & Productivity",
+ "Development & AI",
+ "Applications",
+ ]
sorted_groups = []
for g in preferred_order:
if g in groups: