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
Allow different concurrent development environments on a single machine #615
Comments
Good suggestion! I think fixing this may be a bit more involved than just adding the project_name; we also need to consider making it possible to override the exposed ports (8080 and 4444) by each running development environment. |
Is some of this better supported with a docker-compose-override.yml that the invoke command looks for and proper documentation? This is a pattern we have used before, but not sure it exactly fits here. |
I see that using the docker-compose-override.yml override method will solve my problems. As I can see one can specifiy the override filename with the For me this solves all my needs and I'm proceeding by creating project specific override.yml files. |
@jifox looks like we're good to close as you were able to move forward with overrides? |
@jedelman8 Yes, you're right. |
I'll close this then - thanks! FYI there are some workflow changes here in 1.1.x - if you get a chance to review #782, it would be appreciated! |
Environment
Proposed Functionality
The
project_name
specified within "invoke" should be taken into account when building the docker image withinvoke build
Use Case
As a developer I want to be able to have different development environments on the developers machine (different projects).
The problem with the current
invoke build
version ist, that the container image name will not be affected by thedocker-compose --project-name ...
parameter because it is fully specified as image name in docker-compose.yml file. Thus overwriting the image of all the other project wheninvoke build
is executed.Database Changes
None
External Dependencies
None
The text was updated successfully, but these errors were encountered: