Creating a volume
Use fly volumes create to create a volume. You can specify a region and a size (in gigabytes). Create one for each machine that you will be deploying as volumes can’t be shared between machines. You will want to use the same volume name for each volume if these volumes will be mounted by separate instances of the same application.Mounting a volume
When you created a volume, you gave it a name. Modify yourfly.toml to contain
a mounts section
associating that source name with a destination file path:
processes section is optional if you only have one process defined in your toml.
Accessing the volume
Modify your application to read and write from subdirectories of the destination path you provided in yourfly.toml.
In the case of Sqlite3, set the DATABASE_URL value to include this path.