dev-environments icon indicating copy to clipboard operation
dev-environments copied to clipboard

Support for a devenvironment.yaml configuration file

Open alantbarlow opened this issue 4 years ago • 4 comments

Currently, the Dev Environments feature automatically looks for the docker-compose file located at ".docker/docker-compose.yaml" in the root directory. The following are some of the downsides of doing this.

  • It bypasses any additional configurations that can be made
  • It prevents you from specifying a path to the container configuration file
  • It requires you to create a new docker-compose.yaml file, if you want one located in the root directory

To fix these problems, it should look for a devevironment file located at either ".docker/devenvironment.yaml" or ".devenvironment.yaml" in the root directory. You should only look for a docker-compose file if a devenvironment file is not located. By implementing this solution, not only will the problems above be fixed, but you could also implement additional features easier.

alantbarlow avatar Aug 04 '21 18:08 alantbarlow

This could possibly solve issue #22 and add support for using a .devcontainer configuration file.

alantbarlow avatar Aug 04 '21 19:08 alantbarlow

@alantbarlow we're currently working of this kind solution, I would be really happy if we can plan meeting with @rumpl and we'll demo the wip. WDYT? You can drop me an email directly [email protected]

glours avatar Aug 04 '21 20:08 glours

If you need further feedback, count me in! Seems really promising, and I'm excited to see where this goes.

sheldonhull avatar Aug 06 '21 21:08 sheldonhull

@sheldonhull feel free to ping @nebuk89 or drop him an email directly [email protected]

glours avatar Aug 12 '21 10:08 glours