mirror of
https://github.com/moghtech/komodo.git
synced 2026-05-07 02:16:06 -05:00
[GH-ISSUE #738] [Feature] Support multi line environment variables #7469
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @june012006 on GitHub (Aug 16, 2025).
Original GitHub issue: https://github.com/moghtech/komodo/issues/738
I receive in the "Write Stack" step of deployment the following error
If I set the environment variables in the terminal, and manually run docker compose up, it works without issue
My compose file:
My stack toml
What am I missing?
@mbecker20 commented on GitHub (Aug 17, 2025):
Do any of the Komodo variables include multiple lines? That would lead to this issue
@june012006 commented on GitHub (Aug 17, 2025):
Yes, all three "TLS" variables. Multiline variables don't work then?
@mbecker20 commented on GitHub (Aug 19, 2025):
Variables containing multiple lines can be used in some situations, like in commands when wrapping in quotes, but not environment like this, unfortunately it will lead to this parsing issue. You have to find another way to pass these in.
@6ixfalls commented on GitHub (Sep 20, 2025):
I'm curious why the environment variables are even parsed instead of just being passed into the Docker command - I would like to contribute a fix to this, but I don't understand the current architecture.
@dieser-niko commented on GitHub (Nov 19, 2025):
My guess is that they needed to unify the output, because, for some reason you can use a YAML list format:
34a9f8eb9e/client/core/rs/src/parsers.rs (L16-L18)I have to agree with @6ixfalls, why is this even necessary? The field description in the UI doesn't even mention YAML and I wouldn't have known about it myself if I hadn't checked out the code.