From a3b590af573105340bc22466f2b13cfea3e5481e Mon Sep 17 00:00:00 2001 From: TheSt1tch Date: Mon, 29 Apr 2024 12:04:35 +0500 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D0=B2=D0=B5=D1=80=D1=81=D0=B8=D0=B8=20?= =?UTF-8?q?=D0=B2=20=D0=B8=D0=BD=D1=81=D1=82=D1=80=D1=83=D0=BA=D1=86=D0=B8?= =?UTF-8?q?=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/docker/nextcloud/index.md | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/docs/docker/nextcloud/index.md b/docs/docker/nextcloud/index.md index e5191e5..d8aff4b 100755 --- a/docs/docker/nextcloud/index.md +++ b/docs/docker/nextcloud/index.md @@ -1,14 +1,11 @@ # Nextcloud - свое облако для файлов - Запуск через docker-compose. Для начала создадим файл `.env` со следующим содержанием: ```env title=".env" PUID= PGID= TZ= -DOCKER_APP= -SECRETSDIR= NEXTCLOUD_DOMAIN_NAME= REDIS_PASSWORD= ``` @@ -21,15 +18,14 @@ version: "3.7" services: # Nextcloud Docker Application nextcloud: - image: nextcloud:25.0.4 + image: nextcloud:28 container_name: nextcloud restart: always volumes: - - $DOCKER_APP/nextcloud:/var/www/html - - $DOCKER_APP/nextcloud/apps:/var/www/html/custom_apps - - $DOCKER_APP/nextcloud/config:/var/www/html/config - - /mnt/NAS/Nextcloud:/var/www/html/data - - /mnt:/mnt + - ./nextcloud:/var/www/html + - ./nextcloud/apps:/var/www/html/custom_apps + - ./nextcloud/config:/var/www/html/config + - ./nextcloud/data:/var/www/html/data environment: - POSTGRES_HOST=192.168.1.12 - POSTGRES_DB_FILE=/run/secrets/nextcloud_postgres_db @@ -37,8 +33,8 @@ services: - POSTGRES_PASSWORD_FILE=/run/secrets/nextcloud_postgres_password - NEXTCLOUD_ADMIN_PASSWORD_FILE=/run/secrets/nextcloud_admin_password - NEXTCLOUD_ADMIN_USER_FILE=/run/secrets/nextcloud_admin_user - - REDIS_HOST=172.18.3.249 - - REDIS_HOST_PASSWORD=$REDIS_PASSWORD + #- REDIS_HOST= + #- REDIS_HOST_PASSWORD= - PUID=$PUID - PGID=$PGID - TZ=$TZ