Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docker-compose.yml version #618

Closed
anastis opened this issue Aug 13, 2019 · 5 comments
Closed

Update docker-compose.yml version #618

anastis opened this issue Aug 13, 2019 · 5 comments
Assignees
Labels

Comments

@anastis
Copy link

anastis commented Aug 13, 2019

ISSUE TYPE

  • Feature request

SUMMARY

Update the docker-compose.yml file to a newer version, to support newer features.

Goal

I would like to be able to define bind mounts using the long syntax, so that I can for example configure the propagation parameter, so that a mounted folder can appear inside the default data/www mount.
The specific feature (long format mounts) requires docker-compose version 2.3, but I guess bringing it as much as up to date possible wouldn't hurt.

@anastis
Copy link
Author

anastis commented Aug 13, 2019

To clarify, I'm actually using a docker-compose.override.yml so that my mounts will survive an update, however it must follow the docker-compose.yml's version, therefore I can't use the long syntax.

@Tuurlijk
Copy link

Hi @anastis can you make a pull request?

@anastis
Copy link
Author

anastis commented Aug 27, 2019

I think I shouldn't... I've only used Docker due to devilbox, and it's only been a few days, so I really don't know what I'm doing 😄

Meanwhile I've worked around the issue I was facing by copying my files deep inside the data/www path where I needed them. Symlinks outside of data/www wouldn't work. It looks like the propagation parameter is the only thing that can provide a symlink experience between the host and the container.

@nuno-andre
Copy link
Contributor

It is worth mentioning that it should be accompanied by an update of requirements.

https://docs.docker.com/compose/compose-file/

@stale
Copy link

stale bot commented Oct 26, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the issue:stale This issue has become stale and is marked for auto-close label Oct 26, 2019
@stale stale bot closed this as completed Nov 2, 2019
@cytopia cytopia removed the issue:stale This issue has become stale and is marked for auto-close label Nov 17, 2019
@cytopia cytopia reopened this Nov 17, 2019
@cytopia cytopia self-assigned this Nov 30, 2019
@cytopia cytopia mentioned this issue Dec 31, 2019
4 tasks
@cytopia cytopia closed this as completed in 616fed6 Jan 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants