From cc8b88a3e982a2de9cd639706519e5257c52c544 Mon Sep 17 00:00:00 2001 From: Thumbscrew Date: Mon, 31 Jan 2022 22:51:46 +0000 Subject: [PATCH] update README to include enabling file previews --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 1a68fe5..583c7e2 100644 --- a/README.md +++ b/README.md @@ -39,3 +39,10 @@ echo "SuperSecretPassword" > secrets/nextcloud_admin_password.txt # Replace with ```bash sudo docker-compose up --build -d ``` + +8. (Optional) To enable some file previews copy [previews.config.php](nextcloud/previews.config.php) into your Nextcloud's `config` directory (replace `$volume` with the path you have set in the `VOLUME_PATH` environment variable): + +```bash +sudo cp nextcloud/previews.config.php $volume/var/www/html/config/ +sudo chown www-data:root $volume/var/www/html/config/ +```