Enhancements for 'File Mount' feature
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?
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:
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
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 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