Laravel Storage misconfiguration when using docker
recursivetree opened this issue · comments
recursivetree commented
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.