Dokploy / Dokploy/dokploy

Enhancements for 'File Mount' feature

Open
#2,892 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
37.4k
Forks
3k
Avg merge
1d 3h
Merged PRs (30d)
73

Description

What problem will this feature address?

A couple of simple additional controls that will make ppl's lives easier

Describe the solution you'd like

File mounts seem to be intended for use with .env files. We can expand their usefulness with a few simple tweaks by adding language and executable controls.

This is an example UI:

Image

Proposed values for language dropdown: Env (current), Shell, YML, JSON.
We could infer the language from file extension.
Executable just does chmod +x on the file when saving.
Need to also remove 'Mount path' field in volume listing (on the same page) if it's compose.

Describe alternatives you've considered

Can't see any other. Executable bit can only be set manually on the node right now.

Additional context

No response

Will you send a PR to implement it?

Yes

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 File Mount controls and the volume listing for compose deployments, then inspect how mounted files are saved and permissions are applied. Done means the UI supports the proposed language and executable controls, language can be inferred from the extension where appropriate, executable files receive the executable bit, and the compose volume listing omits Mount path.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker-compose, typescript
Domain
devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.