Using multiple volumes

Is it possible to use two different named volumes for one app?
I want to create one volume for sqlite database and one for uploaded files but couldn’t find how to configure this on toml file

Currently I have this for sqlite db

[mounts]
source = "data"
destination = "/data"

I want to add another volume for file upload, something like this:

[mounts]
source = "data"
destination = "/data"
[mounts]
source = "uploads"
destination = "/public/uploads"

is this possible?

Alas no:

The current suggestion (from that thread, if you click through) is to use one volume with multiple paths. I guess in your case, one path for your uploads and one for your database.

2 Likes