Hey folks! I'm using Nextcloud AIO with Docker Desktop and I need some help. I have a folder located at F:MusiciTunesMusic on my Windows machine that I want to include in my Nextcloud setup. There's also an existing ncdata folder on my Windows that Nextcloud uses. My goal is to make the Music folder available in my Nextcloud folder structure while keeping the ncdata intact. I want to use Nextcloud's WebDAV feature to sync my Music folder, but I've been running into some issues. I tried using the External Storage plugin with SMB, but it caused a lot of lag. I realize now that during installation, I missed the step to access local storage. Could someone guide me through the process of mounting this folder as a volume in Docker? I'm a novice but good at following instructions, so any step-by-step help would be greatly appreciated!
1 Answer
To add your Music folder to Nextcloud, you'll want to mount it as a Docker volume. This will give Nextcloud access to that directory without interfering with your existing ncdata folder. You'll need to edit your Docker Compose file (if you're using it) to include a volume definition. It should look something like this:
```yaml
volumes:
- F:/Music/iTunes/Music:/var/www/html/data/Music
```
Make sure to replace `/var/www/html/data/Music` with the correct path in your Nextcloud setup. Once that's done, you can just run `docker-compose up -d` to apply the changes. This should help avoid the lag issues you faced with SMB!
Thanks for the tip! If I run into any trouble, can I come back for more guidance?