im fairly new to the Docker Container world and im trying to move my Nextcloud server to the container.
i can deploy it successfully on a test environment, but im trying to map an externall HDD that will eventually contain all of the data (profiles/pics/data/etc) as it is on my current server.
my current setup is an ubuntu server 20.04.1 and Nextcloud 18 with an external HDD mounted for storage.
so far i havent been able to map the external drive.
You can mount them to external storage the same way.
The general format is hostpath:containerpath
where hostpath is the path to the folder on the host, and containerpath is where that should be mounted inside the container. You can put hostpath anywhere you like, such as on a mounted external drive.
Using openmediavault makes the disk and raid handing very comfortable. E.g. you can check your disks with SMART and mount/unmount disk, create a Raid mirror etc…
I like the combination of omv with nextcloud.