Episode 19: Nextcloud AIO, OpenCloud and Seafile measured with the same test data on the same server
This commit is contained in:
parent
76a3132a17
commit
145d318452
70 changed files with 3296 additions and 0 deletions
20
filesync/server/nc-install.sh
Normal file
20
filesync/server/nc-install.sh
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
#!/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://<ip>:8080 answers HTTP $c after $(el $T0 $(now)) s ($(ts) UTC)"
|
||||
echo $T0 > /root/ep19fs/T0
|
||||
Loading…
Add table
Add a link
Reference in a new issue