#!/usr/bin/env bash # Nextcloud All-in-One, Befehl wörtlich aus dem README (Schritt 3). Misst bis die AIO-Oberfläche antwortet. source /root/ep19fs/lib.sh echo "# $(date -u +%FT%TZ) docker images vorher: $(docker images -q | wc -l)" T0=$(now); echo "T0 $(ts) UTC docker run mastercontainer" docker run -d \ --init \ --sig-proxy=false \ --name nextcloud-aio-mastercontainer \ --restart always \ --publish 80:80 \ --publish 8080:8080 \ --publish 8443:8443 \ --volume nextcloud_aio_mastercontainer:/mnt/docker-aio-config \ --volume /var/run/docker.sock:/var/run/docker.sock:ro \ ghcr.io/nextcloud-releases/all-in-one:latest >/dev/null echo "docker run returned after $(el $T0 $(now)) s" while :; do c=$(curl -sk -o /dev/null -m 2 -w '%{http_code}' https://localhost:8080/); case $c in 2*|3*) break;; esac; sleep 0.5; done echo "AIO interface https://:8080 answers HTTP $c after $(el $T0 $(now)) s ($(ts) UTC)" echo $T0 > /root/ep19fs/T0