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

Need a way to override volumes-* and overrides-* within a project #1796

Open
mike-potter opened this issue Oct 5, 2023 · 0 comments
Open

Comments

@mike-potter
Copy link

Currently Docksal creates the docker-config files by piecing together files in the following order:

global stack-*.yml
project docksal.yml
project docksal-ENV.yml
global volumes-*.yml
global overrides-*.yml

(where "global" is the user's .docksal folder and "project" is the current project's .docksal folder)

The problem with this is there is no way for a project to override anything in the docksal "volumes" or "overrides" file. In my specific case I need to change the overrides-dd-bind.yml file for it to work with Orbstack. I'd rather not make a global change in my main docksal folder (which would get overwritten by a Docksal upgrade). I can't even define my own volumes-orb.yml stack within my local project.

I propose allowing a project to define a docksal-overrides.yml file (or something like that) which would be processed at the very end to allow projects to override ANYTHING coming from the Docksal stack when needed.

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

No branches or pull requests

1 participant