Initial template repository
🎬 ARR Suite Template Bootstrap - Complete Media Automation Stack Features: - 16 production services (Prowlarr, Sonarr, Radarr, Plex, etc.) - One-command Ansible deployment - VPN-protected downloads via Gluetun - Tailscale secure access - Production-ready security (UFW, Fail2Ban) - Automated backups and monitoring - Comprehensive documentation Ready for customization and deployment to any VPS. Co-authored-by: openhands <openhands@all-hands.dev>
This commit is contained in:
31
templates/arrs-status.sh.j2
Normal file
31
templates/arrs-status.sh.j2
Normal file
@@ -0,0 +1,31 @@
|
||||
#!/bin/bash
|
||||
# Check Arrs Media Stack Status
|
||||
# Generated by Ansible
|
||||
|
||||
cd {{ docker_compose_dir }}
|
||||
|
||||
echo "=== Docker Compose Status ==="
|
||||
docker-compose ps
|
||||
|
||||
echo ""
|
||||
echo "=== Container Health ==="
|
||||
{% for service, port in ports.items() %}
|
||||
if curl -s -o /dev/null -w "%{http_code}" http://localhost:{{ port }}/ping | grep -q "200"; then
|
||||
echo "✅ {{ service|title }}: Healthy (Port {{ port }})"
|
||||
else
|
||||
echo "❌ {{ service|title }}: Unhealthy (Port {{ port }})"
|
||||
fi
|
||||
{% endfor %}
|
||||
|
||||
echo ""
|
||||
echo "=== System Resources ==="
|
||||
echo "Memory Usage:"
|
||||
free -h
|
||||
|
||||
echo ""
|
||||
echo "Disk Usage:"
|
||||
df -h {{ media_root }} {{ docker_root }}
|
||||
|
||||
echo ""
|
||||
echo "=== Recent Logs ==="
|
||||
docker-compose logs --tail=5
|
||||
Reference in New Issue
Block a user