Inital Comit Upload Config Files

This commit is contained in:
2026-03-17 00:30:35 +01:00
commit a07d19b8a8
36 changed files with 1796 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
#!/bin/bash
ssh unraid "docker restart \$(docker ps -q)"
echo "Alle Container neugestartet."
echo
read -n 1 -s -r -p "Taste drücken zum Schließen..."

View File

@@ -0,0 +1,6 @@
#!/bin/bash
ssh unraid "docker ps -a"
echo
read -n 1 -s -r -p "Taste drücken zum Schließen..."

21
scripts/homelab/homelab-menu.sh Executable file
View File

@@ -0,0 +1,21 @@
#!/bin/bash
choice=$(printf "🖥 Server Status\n🐳 Docker Status\n🔁 Restart Docker\n🌐 Open Services\n📡 Network Tools\n🤖 Ollama Models" | wofi --dmenu --prompt "Homelab")
case "$choice" in
"🖥 Server Status")
kitty -e bash -lc "~/.config/hypr/scripts/homelab/server-status.sh"
;;
"🐳 Docker Status")
kitty -e bash -lc "~/.config/hypr/scripts/homelab/docker-status.sh"
;;
"🔁 Restart Docker")
kitty -e bash -lc "~/.config/hypr/scripts/homelab/docker-restart.sh"
;;
"🌐 Open Services")
~/.config/hypr/scripts/homelab/services-menu.sh
;;
"📡 Network Tools")
~/.config/hypr/scripts/homelab/network-tools.sh
;;
esac

View File

@@ -0,0 +1,15 @@
#!/bin/bash
choice=$(printf "📡 Ping Server\n🌐 Ping Google\n⚡ Speedtest" | wofi --dmenu --prompt "Network")
case "$choice" in
"📡 Ping Server")
kitty -e ping 10.0.0.15
;;
"🌐 Ping Google")
kitty -e ping google.com
;;
"⚡ Speedtest")
kitty -e speedtest-cli
;;
esac

View File

@@ -0,0 +1,18 @@
#!/bin/bash
echo "===== SERVER STATUS ====="
echo
ssh root@10.0.0.15 "
echo 'Uptime:'
uptime
echo
echo 'Memory:'
free -h
echo
echo 'Disk:'
df -h
"
echo
read -n 1 -s -r -p "Taste drücken zum Schließen..."

View File

@@ -0,0 +1,21 @@
#!/bin/bash
choice=$(printf "📦 Portainer\n☁ Nextcloud\n📄 Paperless\n🏠 Home Assistant\n🤖 Ollama" | wofi --dmenu --prompt "Services")
case "$choice" in
"📦 Portainer")
xdg-open http://10.0.0.15:9000
;;
"☁ Nextcloud")
xdg-open http://10.0.0.15:8080
;;
"📄 Paperless")
xdg-open http://10.0.0.15:8000
;;
"🏠 Home Assistant")
xdg-open http://10.0.0.15:8123
;;
"🤖 Ollama")
xdg-open http://10.0.0.15:11434
;;
esac