Hi all,
I have Nextcloud set up as a docker image through Portainer. I'm using an old Mac Mini 2012 with a NVME boot drive and a 2TB SATA HDD.
I only have one shared folder mounted in OMV which corresponds to the HDD and wanted to use this for my Nextcloud storage. When I initially ran the docker script in Portainer, I made sure to set my volumes for both the app and db to the shared folder. The script I used is as belos:
Code
version: '2'
volumes:
nextcloud:
db:
services:
db:
image: mariadb
restart: always
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW --innodb-file-per-table=1 --skip-innodb-read-only-compressed
volumes:
- db:/srv/MY-SHARED-FOLDER/Data/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=XXX
- MYSQL_PASSWORD=XXX
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
app:
image: nextcloud
restart: always
ports:
- XXX:80
links:
- db
volumes:
- nextcloud:/srv/MY-SHARED-FOLDER/Data/var/www/html
environment:
- MYSQL_PASSWORD=XXX
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
- MYSQL_HOST=db
Alles anzeigen
However, Nextcloud is reporting 100GB of space which would likely be my NVME.
Would someone be able to shed some light on this? I'd have thought that as long as you set the correct volume for the app and db on installation, the correct disk would be used?
Thank you!