Hi all,
Since couple of month, i’m trying to learn and use docker correctly. Not with the success I may hope. Often, it’s working, but not like I want.
This time, my project is OwnCloud (And I want to do it the right way)
I’m using the docker-compose file givent here: https://raw.githubusercontent.com/owncloud/docs/master/modules/admin_manual/examples/installation/docker/docker-compose.yml
and i did some modification. As I want to have all content in a separate volume “/mnt/ownclouddata”, i’m trying to modify the file to launch the dockers to use my dedicated data mount point
In the 3 images, a modified the config:
owncloud:
volumes:
- files:/mnt/ownclouddata/data
db:
volumes:
- mysql:/mnt/ownclouddata/mysql
- backup:/mnt/ownclouddata/backup
redis:
volumes:
- redis:/mnt/ownclouddata/redis
But docker always place file on the local /var/lib/docker/volumes/ced77204ef4c0486532091a44bef449e3d5148df2d522abe56aa44f309aab171/_data/files/
What I do not understant in the process ? Do I need to modify something else ? What ? Is it related to the first section of the .yml file ? (volumes: )
I realy like the concept of Docker, I try to learn/test, but never have the result as clean as I want
Thanks,