dokploy icon indicating copy to clipboard operation
dokploy copied to clipboard

Add Version Control for Environment

Open a-ayesh opened this issue 1 year ago • 5 comments

What problem will this feature address?

Mismanagement of the Environment has led to some issues once or twice. Nothing major, but being able to see the changes historically is nice. Helps debug quicker.

Describe the solution you'd like

An environment version should be tied to each deployment and a viewable diff would be nice too. We can look a few versions back or simply load an old env associated with a deployment.

Describe alternatives you've considered

This solution seemed solid but it doesn't tie well with Dokploy's ecosystem.

Additional context

No response

Will you send a PR to implement it?

Maybe, need help

a-ayesh avatar Sep 03 '25 12:09 a-ayesh

You can use services like Doppler\Infisical as alternatives

divaltor avatar Sep 03 '25 20:09 divaltor

How can we integrate Infisical with Dokploy to retrieve secrets for Dokploy service environments from Infisical?

@Siumauricio

fullheart avatar Oct 25 '25 09:10 fullheart

You can use services like Doppler\Infisical as alternatives

Yeah, i am trying to use doppler, but can't figureout an way to import the secrets, i was trying to override the compose command to generate and doppler service token in the fly, but cant make this work, neither use the 'doppler run --' prefix since the compose command always start with 'docker' as defined in https://github.com/Dokploy/dokploy/issues/540.

So, any tips of how to integrate with doppler? @Siumauricio @divaltor

Kerryhen avatar Dec 09 '25 13:12 Kerryhen

You can use services like Doppler\Infisical as alternatives

Yeah, i am trying to use doppler, but can't figureout an way to import the secrets, i was trying to override the compose command to generate and doppler service token in the fly, but cant make this work, neither use the 'doppler run --' prefix since the compose command always start with 'docker' as defined in #540.

So, any tips of how to integrate with doppler? @Siumauricio @divaltor

If you own the Dockerfile, you can integrate Doppler/Infisical directly into it to inject environment variables at runtime - see the Doppler docs for examples.

If you want to store all environment variables externally and need to deploy pre-built images like ClickHouse (where overriding the Dockerfile is possible but less straightforward) then it's not possible without writing custom implementation for synchronizing these secrets. We could probably add it, but this would increase project complexity and adds maintenance overhead.

@Siumauricio comment is appreciated, I could probably take Doppler integration if it collects enough votes, but first of all need to think about architecture implementation to make it easier to add new providers.

divaltor avatar Dec 10 '25 18:12 divaltor

Infiscial integration in Dokploy would really make it suitable for enterprise usage. where can I vote for it?

shivam-clary avatar Jan 13 '26 15:01 shivam-clary