Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker compose should not mount /app from working directory #4859

Open
icarito opened this issue Feb 20, 2019 · 0 comments
Open

Docker compose should not mount /app from working directory #4859

icarito opened this issue Feb 20, 2019 · 0 comments
Assignees
Labels
enhancement explains that the issue is to improve upon one of our existing features in progress

Comments

@icarito
Copy link
Member

icarito commented Feb 20, 2019

Only when the app really needs to write to a directory it is okay to mount the directory as a volume. Otherwise it's wise to let the app use the build-time files that are already at the container , providing further isolation and reliability.

The questions is what directory / directories are needed to be written at runtime?
#4858 is a start to this.

I'm thinking also the log directory needs to be writable?

@icarito icarito self-assigned this Feb 20, 2019
@grvsachdeva grvsachdeva added enhancement explains that the issue is to improve upon one of our existing features in progress labels Feb 20, 2019
@stale stale bot added the stale label Oct 7, 2020
@publiclab publiclab deleted a comment from stale bot Oct 8, 2020
@stale stale bot removed the stale label Oct 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement explains that the issue is to improve upon one of our existing features in progress
Projects
None yet
Development

No branches or pull requests

2 participants