diff --git a/compose/znas/homelable/docker-compose.yaml b/compose/znas/homelable/docker-compose.yaml index 8f3280b..066fc51 100644 --- a/compose/znas/homelable/docker-compose.yaml +++ b/compose/znas/homelable/docker-compose.yaml @@ -7,8 +7,6 @@ services: image: ghcr.io/pouzor/homelable-frontend:latest networks: - netgrimoire - environment: - - VITE_API_URL=https://homelable-api.netgrimoire.com deploy: replicas: 1 placement: @@ -26,6 +24,8 @@ services: homepage.description: Homelab infrastructure visualizer # --- Uptime Kuma --- kuma.homelable.http.url: https://homelable.netgrimoire.com + # --- DIUN --- + diun.enable: "true" backend: image: ghcr.io/pouzor/homelable-backend:latest @@ -37,8 +37,10 @@ services: - SECRET_KEY=${SECRET_KEY} - AUTH_USERNAME=${AUTH_USERNAME} - AUTH_PASSWORD_HASH=${AUTH_PASSWORD_HASH} - - SCANNER_RANGES=${SCANNER_RANGES:-["192.168.3.0/24","192.168.4.0/24","192.168.5.0/24"]} + - SCANNER_RANGES=${SCANNER_RANGES} - STATUS_CHECKER_INTERVAL=${STATUS_CHECKER_INTERVAL:-60} + - SQLITE_PATH=/app/data/homelab.db + - CORS_ORIGINS=["https://homelable.netgrimoire.com"] cap_add: - NET_RAW - NET_ADMIN @@ -53,28 +55,5 @@ services: caddy.reverse_proxy: "{{upstreams 8000}}" # --- Uptime Kuma --- kuma.homelable-api.http.url: https://homelable-api.netgrimoire.com/health - - mcp: - image: ghcr.io/pouzor/homelable-mcp:latest - networks: - - netgrimoire - environment: - # Authenticates external MCP clients (Open WebUI, Claude Code, n8n) - - MCP_API_KEY=${MCP_API_KEY} - # Authenticates MCP server -> backend (internal only, never exposed) - - MCP_SERVICE_KEY=${MCP_SERVICE_KEY} - - BACKEND_URL=http://backend:8000 - deploy: - replicas: 1 - placement: - constraints: - - node.hostname == znas - labels: - # --- Caddy reverse proxy --- - # Exposed for Claude Code on remote machines — remove label if LAN-only preferred - caddy: homelable-mcp.netgrimoire.com - caddy.reverse_proxy: "{{upstreams 8001}}" - # --- Uptime Kuma --- - kuma.homelable-mcp.http.url: https://homelable-mcp.netgrimoire.com/health - # --- DIUN image update notifications --- + # --- DIUN --- diun.enable: "true" \ No newline at end of file