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

Laravel Storage misconfiguration when using docker #865

Open
recursivetree opened this issue Mar 21, 2022 · 0 comments
Open

Laravel Storage misconfiguration when using docker #865

recursivetree opened this issue Mar 21, 2022 · 0 comments
Labels
docker Things related to docker

Comments

@recursivetree
Copy link

Problem

When using the Storage(https://laravel.com/docs/6.x/filesystem) fascade provided by laravel, the current configuration stores the files in the docker container, meaning the files are lost after an update of the container. This issue came up with recursivetree/seat-info#2.

Expected

The files should be persistent.

Proposed fix

make the directory of the default disk a volume in the docker-compose, so the data is stored outside the docker container.

@warlof warlof added the docker Things related to docker label Mar 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docker Things related to docker
Projects
None yet
Development

No branches or pull requests

2 participants