<?xml version="1.0" encoding="utf-8"?>
<!--
  services.xml - simple list of services for the homepage
  
  Configuration:
    - tailscale-ip: IP address to use for local services (optional, default: auto-detect)
  
  Structure:
    - Use <group> elements to organize services into categories
    - Each group has a 'name' attribute for the category title
    - Services without a group will appear in "Other Services"
  
  Service Fields:
    - id: unique identifier (optional)
    - name: display name (required)
    - proto: protocol - http or https (optional, default: http)
    - port: port number (optional, shows info button if present with host)
    - host: custom hostname or full URL (optional)
    - logo: filename in /logos/ (optional, default: default.svg)
    - status: maintenance only (optional) - will override health check
    - check-health: true/false (optional, default: true) - disable auto health check
    - health-path: custom health check endpoint (optional, e.g., /api/health, /ping)
    - local-ip: override IP for health checks (optional, overrides tailscale-ip)
  
  Status Behavior:
    - If status="maintenance": Shows orange dot, skips health check
    - Otherwise: Automatically pings service URL and shows:
      * Gray spinning dot while checking
      * Green pulsing dot if online
      * Red dot if offline/unreachable
    - Set check-health="false" to disable automatic checking
-->
<services tailscale-ip="100.124.17.41">
  <group name="Management">
    <service id="portainer" name="Portainer" proto="https" port="9443" logo="portainer.svg" />
    <service id="uptime-kuma" name="Uptime Kuma" proto="http" port="3001" logo="uptime-kuma.svg" />
    <service id="scrutiny" name="Scrutiny" proto="http" port="8090" logo="scrutiny.svg" />
    <service id="zoraxy" name="Zoraxy" proto="http" port="8888" logo="zoraxy.svg" status="maintenance"/>
  </group>

  <group name="Media">
    <service id="jellyfin" name="Jellyfin" proto="http" port="8096" logo="jellyfin.svg" host="jellyfin.spatulaa.com" />
    <service id="jellyseer" name="Jellyseer" proto="http" port="5055" logo="jellyfin.svg" host="jellyseer.spatulaa.com" />
    <service id="transmission" name="Transmission" proto="http" port="9091" logo="transmission.svg" />
    <service id="tdarr" name="Tdarr" proto="http" port="8265" logo="tdarr.svg" />
    <service id="tubearchivist" name="Tube Archivist" proto="http" port="8888" logo="youtubedl.svg" />
    <service id="wizarr" name="Wizarr" proto="http" port="5690" logo="wizarr.svg" host="wiz.spatulaa.com" />
  </group>

  <group name="Media Management (*arr Stack)">
    <service id="prowlarr" name="Prowlarr" proto="http" port="9696" logo="prowlarr.svg" />
    <service id="sonarr" name="Sonarr" proto="http" port="8989" logo="sonarr.svg" />
    <service id="radarr" name="Radarr" proto="http" port="7878" logo="radarr.svg" />
    <service id="lidarr" name="Lidarr" proto="http" port="8686" logo="lidarr.svg" />
    <service id="readarr" name="Readarr" proto="http" port="8787" logo="readarr.svg" />
    <service id="bazarr" name="Bazarr" proto="http" port="6767" logo="bazarr.svg" />
  </group>

  <group name="Storage &amp; Files">
    <service id="nextcloud" name="Nextcloud" proto="http" port="8080" logo="nextcloud.svg" host="cloud.spatulaa.com" />
    <service id="filebrowser" name="FileBrowser" proto="http" port="8986" logo="filebrowser.svg" />
    <service id="picoshare" name="Picoshare" proto="http" port="4001" logo="picoshare.svg" host="cdn.spatulaa.com" />
  </group>

  <group name="Development">
    <service id="gitea" name="Gitea" proto="http" port="3000" logo="gitea.svg" host="git.spatulaa.com" />
  </group>

  <group name="AI &amp; Tools">
    <service id="open-webui" name="Open WebUI" proto="http" port="3333" logo="openwebui.svg" host="hive.spatulaa.com"/>
  </group>

  <group name="Other Services">
    <service id="homeassistant" name="Home Assistant" proto="http" port="8123" logo="homeassistant.svg" />
    <service id="kiwix" name="Kiwix" proto="http" port="666" logo="kiwix.svg" />
    <service id="aurcache-repo" name="Aurcache" proto="http" port="888" logo="aurcache.svg" />
  </group>
</services>
