VGW_CHOWN_[UID|GID] in Compose #1357
-
|
These are supposed to be boolean, according to TFM, but Docker Compose doesn't seem to like that. I tried I can set this in entrypoint, but I'd like to know if anyone managed to get this done in Compose YAML. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
I haven't tried this to confirm it works, but this https://devops.stackexchange.com/questions/537/why-is-one-not-allowed-to-use-a-boolean-in-a-docker-compose-yml suggests maybe you need to quote |
Beta Was this translation helpful? Give feedback.
-
|
There's a doco/code bug, I think, in the sense that WGW_CHOWN_UID/GID are parsed as booleans, so I handle that in own entrypoint.sh that gets around that. |
Beta Was this translation helpful? Give feedback.
I haven't tried this to confirm it works, but this https://devops.stackexchange.com/questions/537/why-is-one-not-allowed-to-use-a-boolean-in-a-docker-compose-yml suggests maybe you need to quote
true, so maybe'true'?