From e37e04a6efd88244e1ed562b372d053ee4feb86f Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Tue, 30 Jan 2018 11:34:46 +0100 Subject: [PATCH] ensure nextcloud config permissions --- Dockerfile | 2 +- rootfs/etc/fix-attrs.d/01-nextcloud-data-dir | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 352566b..7e7d83c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,4 +25,4 @@ RUN rm /etc/nginx/conf.d/default.conf ADD /rootfs / -VOLUME /var/lib/nextcloud/data +VOLUME ["/var/lib/nextcloud/data" "/etc/nextcloud/"] diff --git a/rootfs/etc/fix-attrs.d/01-nextcloud-data-dir b/rootfs/etc/fix-attrs.d/01-nextcloud-data-dir index 1937a85..4d7d266 100644 --- a/rootfs/etc/fix-attrs.d/01-nextcloud-data-dir +++ b/rootfs/etc/fix-attrs.d/01-nextcloud-data-dir @@ -1 +1,2 @@ /var/lib/nextcloud/ true nginx 0640 0750 +/etc/nextcloud/ true nginx 0640 0750 \ No newline at end of file