Open sillvva opened 4 months ago
i thought i was going crazy
Also facing this issue. The environment variable is getting set correctly in the container but $coolify_url
is what gets passed if its marked as a build variable.
Probably related to https://github.com/coollabsio/coolify/issues/2316
Still have the issue today on last beta
Description
I pushed a PR to test predefined environment variables to a preview deployment on my Sveltekit app. The environment variables are being passed to Nixpacks as literal strings rather than being replaced with the predefined values.
I followed the instructions here: https://coolify.io/docs/knowledge-base/environment-variables
Minimal Reproduction (if possible, example repository)
Example variables:
Build variable
is checked.Is Literal?
is not checked.Exception or Error
The resulting
Final Nixpacks plan
looks like this:And the resulting environment variables look like this with
console.table
:Version
v4.0.0-beta.297