Open recursivetree opened 2 years ago
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 https://github.com/recursivetree/seat-info/issues/2.
Storage
The files should be persistent.
make the directory of the default disk a volume in the docker-compose, so the data is stored outside the docker container.
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 https://github.com/recursivetree/seat-info/issues/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.