Dokploy / Dokploy/dokploy

How to add JSON content as env var

Open
#5,180 2 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.