How to add JSON content as env var
Open
Nobody has claimed this yet.
enhancement
question
- Dominant language
- TypeScript
- Stars
- 37.4k
- Forks
- 3k
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 73
Description
For example GOOGLE_SERVICE_ACCOUNT_CREDENTIALS_JSON.
The trick in Env editor not support multiline variables · Issue #488 · Dokploy/dokploy didn't work.
The only workaround I can think of is base 64 (requiring server code to decode it).
File mount didn't work for auto-deploy compose (GitHub provider):
volumes:
- ../files/:/files/:ro
Will you send a PR to implement it?
No
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
Start by tracing the environment editor and the auto-deploy Compose path for the GitHub provider. Determine how multiline JSON values are currently parsed and passed to deployments, then define done as supporting the service-account variable without requiring base64 encoding or an unsupported file mount.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, typescript
- Domain
- devops, infrastructure
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 42/100