Skip to content
This repository has been archived by the owner on Nov 20, 2020. It is now read-only.

Mounting Multiple Volumes Overwrites #50

Closed
centralafricabaptistcollege opened this issue Sep 30, 2016 · 2 comments
Closed

Mounting Multiple Volumes Overwrites #50

centralafricabaptistcollege opened this issue Sep 30, 2016 · 2 comments

Comments

@centralafricabaptistcollege
Copy link

centralafricabaptistcollege commented Sep 30, 2016

I have two mounts - one for the code and one for config. They are both local folders inside the same directory as the docker-compose.yml

              - ./code:/var/www/html
              - ./code:/var/www/html/config.php

This works fine from the command line, but through docker-compose-ui, only the second one gets applied, even though the gui says both volumes are mounted.

@francescou
Copy link
Owner

francescou commented Sep 30, 2016

Hi, relative paths can be a bit problematic, you could use these workarounds:

feel free to reopen if necessary

@centralafricabaptistcollege
Copy link
Author

Thanks. The ${PWD} seems to work great.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants