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

[Bug]: Environment variables get sorted, causing issues #2227

Closed
ngregrichardson opened this issue May 17, 2024 · 1 comment · Fixed by #2230
Closed

[Bug]: Environment variables get sorted, causing issues #2227

ngregrichardson opened this issue May 17, 2024 · 1 comment · Fixed by #2230

Comments

@ngregrichardson
Copy link

Description

When adding environment variables to a resource, even when adding them in Developer View, the environment variables get sorted. While it is nice to display them, I find that it causes problems when some of them depend on one another. For example, if I put:

DB_USER=abcdefg
DB_URL=somethingsomething:$DB_USER

this will get turned into

DB_URL=somethingsomething:
DB_USER=abcdefg

when I actually deploy it to the server.

Please let me know if I'm missing a better way to do this! Love Coolify so so much!

Minimal Reproduction (if possible, example repository)

  1. Create resource
  2. Add
DB_USER=abcdefg
DB_URL=somethingsomething:$DB_USER
  1. Execute the env command in the resource once it is deployed, see that it has
DB_URL=somethingsomething:

Exception or Error

No response

Version

v4.0.0-beta.280

@andrasbacsai
Copy link
Member

I will add a option to sort alphabetically (default)
image
or by creation
image

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

Successfully merging a pull request may close this issue.

2 participants