Datensicherung, Footer, Update-Funktion, Docker-Setup

This commit is contained in:
2026-07-03 16:38:58 +02:00
parent aa0a810d63
commit 5af2b1e076
11 changed files with 199 additions and 28 deletions
+4 -5
View File
@@ -75,11 +75,10 @@ CLONE_URL=$(echo "$GITEA_URL" | sed "s|https://|https://${GITEA_USER}:${GITEA_PA
CLONE_URL="${CLONE_URL}/${GITEA_USER}/Network-MGMT.git"
echo ""
echo -e "${Y}[1/4] Docker prüfen / installieren ...${NC}"
if ! command -v docker &>/dev/null; then
curl -fsSL https://get.docker.com | sh
systemctl enable --now docker
fi
echo -e "${Y}[1/4] Docker installieren / aktualisieren ...${NC}"
curl -fsSL https://get.docker.com | sh
systemctl enable --now docker
systemctl restart docker
echo -e "${G} ✓ Docker: $(docker --version | awk '{print $3}' | tr -d ',')${NC}"
if ! docker compose version &>/dev/null 2>&1; then