Use a dedicated disk from railway
amnesia
HOBBYOP

2 years 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

2 years ago

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

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


Welcome!

Sign in to your Railway account to join the conversation.

Loading...