docker-php icon indicating copy to clipboard operation
docker-php copied to clipboard

Adds storage directories recreation

Open DarkGhostHunter opened this issue 1 year ago • 0 comments

As title says. Sometimes you will mount the /storage path elsewhere for persistence. Laravel sometimes doesn't play nice if any of these are missing, like using view:clear which gives an error when the cache view directory doesn't exist.

The AUTORUN_LARAVEL_STORAGE_RECREATE environment variables re-creates the storage directories used by Laravel:

image

It's opt-in.

DarkGhostHunter avatar Jul 12 '24 02:07 DarkGhostHunter