Files
homelab-dashboard/app/templates/partials/docker.html
Dashboard 89cdb022f3 Initial commit: Homelab Dashboard with YAML configuration
Features:
- Service health monitoring with response times
- Proxmox cluster integration (nodes, VMs, containers)
- PBS backup server monitoring
- Camera viewer with WebRTC (go2rtc)
- Docker container monitoring
- Uptime Kuma integration
- Mobile-friendly responsive design
- YAML-based configuration for easy setup
2026-02-02 20:27:05 +00:00

21 lines
998 B
HTML

<div class="space-y-2">
{% for host in hosts %}
<div class="card rounded-lg p-2">
<div class="flex items-center justify-between text-xs text-gray-400 mb-2">
<span class="font-medium">{{ host.name }}</span>
<span class="text-[10px]">{{ counts.get(host.name, 0) }} running</span>
</div>
<div class="flex flex-wrap gap-1">
{% for container in containers if container.host == host.name %}
<div class="flex items-center gap-1.5 px-2 py-1 rounded bg-dark-700 text-xs">
<span class="w-1.5 h-1.5 rounded-full {% if container.state == 'running' %}bg-emerald-500{% else %}bg-red-500{% endif %}"></span>
<span class="text-gray-300 truncate max-w-[80px]" title="{{ container.name }}">{{ container.name }}</span>
</div>
{% else %}
<span class="text-gray-500 text-xs">No containers</span>
{% endfor %}
</div>
</div>
{% endfor %}
</div>