Use a dedicated disk from railway
amnesia
HOBBYOP

a year ago

python
self.__engine = create_engine(f'sqlite:///database.db')

how to make the script use the path on the created disk
i create volume: pigs-volume Mount Path: /db

1 Replies

a year ago

Mount to /app/db store file in db/database.db

https://docs.railway.com/guides/volumes


Loading...