-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
Unable to override disabled
option
#177
Comments
Hi @Invizory, This is the expected behavior. |
I understand that the underlying library works like that, but then how can I re-enable a service that was disabled in an override file? |
We hacked around the problem with environment variable substitution: disabled: ${SOME_ENV_VAR} |
I see that some additional comments were added to that thread. Another temporary workaround can be using vars in your command: process-compose/process-compose.override.yaml Lines 173 to 177 in 78d5125
|
In the end, we succeeded with the env var substitution as @thenonameguy wrote, but we needed to disable the strict mode because a disabled service was complaining about another disabled dependency of it. |
Defect
“Adding and overriding configuration” section in the documentation states:
However, the old value of
disabled
is not actually replaced if the new value isfalse
.Version of
process-compose
:1.2.0
OS environment:
Ubuntu 22.04.4 LTS
Steps or code to reproduce the issue:
process-compose.yml
:process-compose.override.yml
:Run
process-compose run test
.Expected result:
Actual result:
The text was updated successfully, but these errors were encountered: