From 3aa52b0912c73094e8467a305b7082f225d57d3d Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Tue, 22 Aug 2023 18:09:51 +0200 Subject: [PATCH] Optimized README.md --- roles/server_docker-nextcloud/README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/roles/server_docker-nextcloud/README.md b/roles/server_docker-nextcloud/README.md index 0a1e285d..4074da3c 100644 --- a/roles/server_docker-nextcloud/README.md +++ b/roles/server_docker-nextcloud/README.md @@ -12,11 +12,10 @@ NEXTCLOUD_APPLICATION_DOCKER_CONTAINER=nextcloud-application-1 To update the nextcloud container execute the following commands on the server: ```bash - docker exec -it -u www-data $NEXTCLOUD_APPLICATION_DOCKER_CONTAINER /var/www/html/occ maintenance:mode --on - sudo python {{path_administrator_scripts}}docker-volume-backup/docker-volume-backup.py - export COMPOSE_HTTP_TIMEOUT=600 - export DOCKER_CLIENT_TIMEOUT=600 - cd {{path_docker_compose_files}}nextcloud && docker-compose down + docker exec -it -u www-data $NEXTCLOUD_APPLICATION_DOCKER_CONTAINER /var/www/html/occ maintenance:mode --on && + export COMPOSE_HTTP_TIMEOUT=600 && + export DOCKER_CLIENT_TIMEOUT=600 && + docker-compose down ``` Afterwards update the ***nextcloud_version*** variable to the next version and run the this repository with this ansible role.