alinmear / docker-conanexiles

A docker container to easily provision and manage a conanexiles dedicated server using wine
MIT License
105 stars 75 forks source link

directory mapping for settings files #24

Closed Hr46ph closed 6 years ago

Hr46ph commented 6 years ago

Just something I don't understand so I figured I'd ask.

Why didn't you opt to map the directory with all the ini files to a local mountpoint like so:

-v /path/to/inis/in_container:/mnt/data/conan_inis

If its permissions, those can be easily fixed.

Thanks.

alinmear commented 6 years ago

I think this heavily depends on your container setup, provisioning and backup strategy. The examples compose files are not meant to be mandatory. Moreover i tried to give an example.

Hr46ph commented 6 years ago

Docker-compose is new for me, I had made a mistake in that yml file. Basically, your last example maps it to a dir on the host which is the same as the -v option on the command line. That's what I wanted :).

Thanks!