Skip to content

Bug: Critical issue with environment variables #4694

Description

@axellpadilla

To Reproduce

When creating some special chars and combinations environment variables windows, when using compose, some are not preserved.
Try using $ for example, or compare !"#$%&/()=? on the env variables ui vs final container values, you can end up with paword instead of pa$$word for example. I even have a situation where an inline json like THIS_JSON={"val":...{}} ends up like THIS_JSON={"val":...{}}} (Extra closing }).

Current vs. Expected behavior

Create critical tests for the env vars pipeline to warrant the values are preserved and pa$$word ends as pa$$word

Provide environment information

Ubuntu 24 server

Which area(s) are affected? (Select all that apply)

Docker Compose

Are you deploying the applications where Dokploy is installed or on a remote server?

Both

Additional context

No response

Will you send a PR to fix it?

Maybe, need help

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions