a year ago
Description: SQLite3 is a lightweight database
Category: Storage
4 Replies
8 months ago
Suggestion to change the docs for this template, automatic repo creation step doesn't happen anymore: https://railway.app/changelog/2024-03-01-plugins-deleted#improved-template-deploy-flow
Manual forking must be done
5 months ago
Thanks for this template.
How can i connect to the sqlite db file from an other service (web server) in the same railway project?
For reference, in local dev i have a env variable DATABASE_URL=file:path/to/db.sqlite
and the file is on my local disk.
I don't know what i should put on railway env var...DATABASE_URL=????????
tresorama
Thanks for this template.How can i connect to the sqlite db file from an other service (web server) in the same railway project?For reference, in local dev i have a env variable DATABASE_URL=file:path/to/db.sqlite and the file is on my local disk.I don't know what i should put on railway env var...DATABASE_URL=????????
5 months ago
hey, this sqlite template is not like the other databases template where you get an URL and use it, you would need to put your code inside this template or at least use it as a basis for your code.
passos
hey, this sqlite template is not like the other databases template where you get an URL and use it, you would need to put your code inside this template or at least use it as a basis for your code.
5 months ago
oh ok!
Do you know if i create a volume in railway and attach it to both SQLite service and web server service it is possible to make it work?