nextcloud.yml aktualisiert
This commit is contained in:
parent
45b4498e81
commit
16e7bad25b
@ -294,6 +294,15 @@
|
|||||||
until wget nextcloud.{{inventory_hostname}} -O - | grep -q Login
|
until wget nextcloud.{{inventory_hostname}} -O - | grep -q Login
|
||||||
do
|
do
|
||||||
echo "Waiting for Login screen..."
|
echo "Waiting for Login screen..."
|
||||||
|
# restart traefik on Problems with ACME/letsencrypt
|
||||||
|
if [ -f /home/docker/traefik/docker-compose.yml ]
|
||||||
|
then
|
||||||
|
if docker compose -f /home/docker/traefik/docker-compose.yml logs | egrep -q "nextcloud.{{inventory_hostname}}-+error.+acme-challenge"
|
||||||
|
then
|
||||||
|
docker compose -f /home/docker/traefik/docker-compose.yml down
|
||||||
|
docker compose -f /home/docker/traefik/docker-compose.yml up -d
|
||||||
|
fi
|
||||||
|
fi
|
||||||
sleep 10
|
sleep 10
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user