Skip to content

When deploying compose via git, environment variable injection does not take effect #3769

@LovesAsuna

Description

@LovesAsuna

To Reproduce

  1. A Compose project utilizing environment variable files, specifically for my use case with Weblate.
  2. Overwrite environment variable in dokploy

Current vs. Expected behavior

It's clearly due to a conflict between Dokploy's environment variable injection method and compose projects that directly use environment variable files.

Provide environment information

dokploy version:Version v0.27.1

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?

Same server where Dokploy is installed

Additional context

I learned about Dokploy's environment variable injection mechanism through Dokploy/website#131. Perhaps we should consider merging the environment variable files?

Will you send a PR to fix it?

No

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions