Inject environment information (such as git hash) into the apps
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 37.4k
- Forks
- 3k
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 73
Description
What problem will this feature address?
Right now the applications do not know anything about the version that's being deployed.
Describe the solution you'd like
Dokploy should inject env variables that reflect the state and condition of the application being built, similar to how Vercel injects system variables.
This would allow the apps to be aware of what context they are being deployed in, especially things like git hash of the code etc.
Describe alternatives you've considered
Scripting via git command line, not ideal especially when you do not have Dockerfile access and using compose.
Additional context
No response
Will you send a PR to implement it?
Maybe, need help
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files or tests. Start by tracing how Dokploy builds and deploys applications with Dockerfile and Compose, then review where deployment environment variables are assembled. Done means the supported system variables and their values work consistently across deployment paths and are covered by tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, docker-compose, git, typescript
- Domain
- devops, infrastructure
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100