From 018204b6b606dc99a649a010177e6fb172d78df9 Mon Sep 17 00:00:00 2001 From: Pratham Patel Date: Wed, 27 Jul 2022 01:46:17 +0530 Subject: [PATCH] master-compose: - gitea: change mount points to correct ones (fix issue where gitea needs to be reconfigured after _X_ number of reboots) - nextcloud: tag `/var/www/html` as shared --- master-compose.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/master-compose.yml b/master-compose.yml index 68702b9..df888a5 100644 --- a/master-compose.yml +++ b/master-compose.yml @@ -30,8 +30,9 @@ services: - 8010:3000 - 8011:2222 volumes: - - /trayimurti/containers/volumes/gitea/web/data:/var/lib/gitea:Z - - /trayimurti/containers/volumes/gitea/web/config:/etc/gitea:Z + - /trayimurti/containers/volumes/gitea/web:/data:Z +# - /trayimurti/containers/volumes/gitea/web/data:/var/lib/gitea:Z +# - /trayimurti/containers/volumes/gitea/web/config:/etc/gitea:Z - /etc/localtime:/etc/localtime:ro environment: - ROOT_URL=https://git.thefossguy.com @@ -79,7 +80,7 @@ services: ports: - 8030:80 volumes: - - /trayimurti/containers/volumes/nextcloud/web:/var/www/html:Z + - /trayimurti/containers/volumes/nextcloud/web:/var/www/html:z environment: - POSTGRES_PASSWORD=/run/secrets/nextcloud_database_user_password - POSTGRES_DB=nextcloud @@ -110,11 +111,11 @@ services: nextcloud-cron: image: nextcloud:production - container_name: nextcloud-kama + container_name: nextcloud-karma restart: always entrypoint: /cron.sh volumes: - - /trayimurti/containers/volumes/nextcloud/web:/var/www/html:Z + - /trayimurti/containers/volumes/nextcloud/web:/var/www/html:z environment: - TZ=Asia/Kolkata depends_on: