eveseat / seat

🌀✳️ SeAT: A Simple, EVE Online API Tool and Corporation Manager
https://eveseat.github.io/docs/
GNU General Public License v2.0
425 stars 143 forks source link

Laravel Storage misconfiguration when using docker #865

Open recursivetree opened 2 years ago

recursivetree commented 2 years ago

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.