volumes mount path
hi it is my first time trying to deploy sqlite ever. Im running sinatra app and the orm is sequel. right now this is how I connect to the sqlite.
so what do I do to use volumes? I have no idea. do I need to include my sqlite file when deploying or not?
15 Replies
Project ID:
a0592af1-ff46-4545-956a-f020b2279793
a0592af1-ff46-4545-956a-f020b2279793
seems like you want to mount your volume to
/db
and have your orm create the file if it doesn't existwhat if I already put it in my git repo?
I mean my orm specifically writted db/myapp.db . so should I name the volume and how?
try mounting the volume to
/app/db
okay a sec I'll give it a try
yeah it doesnt work I think, I changed it and tried redeploying it didnt persist
show me your volume settings
just this
I saw this is how fly does it
does railway have the same way to set? probably thats how I can make mine work
fly's docs are not applicable here
^
i will try this
bro
^
yeah that is mount path
I mean the name
name of the volume is irrelevant
^