Add Version Control for Environment
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
You can use services like Doppler\Infisical as alternatives
How can we integrate Infisical with Dokploy to retrieve secrets for Dokploy service environments from Infisical?
@Siumauricio
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
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.
Infiscial integration in Dokploy would really make it suitable for enterprise usage. where can I vote for it?