update README to include enabling file previews

This commit is contained in:
James 2022-01-31 22:51:46 +00:00
parent e900e463e7
commit cc8b88a3e9
1 changed files with 7 additions and 0 deletions

View File

@ -39,3 +39,10 @@ echo "SuperSecretPassword" > secrets/nextcloud_admin_password.txt # Replace with
```bash ```bash
sudo docker-compose up --build -d 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/
```