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