If you follow the directions for persisting your /storage folder:
Then your deploy script for running php artisan optimize
and php artisan migrate
will no longer work because the Fly start scripts don’t have volume access. It also will no longer support running more than one machine at a time, because the volume can only be mounted by one machine. If running deploy scripts with a persisted storage folder is possible, the documentation doesn’t explain how.
The same is true for following the SQLite documentation:
If you follow that guide, then your db will only work on the machine where the volume is mounted. Or, you can also end up with two independent databases. If running Fly.io with Laravel with multiple machines is possible, the documentation doesn’t explain how. Can these guides get some love?