Is it possible to download the docker image from a running railway app?
Hey, I need to download the docker image or at least the sql file inside it
Would it be possible to stop the server, add a on deploy command to download the sql file on my computer snd redeploy it?
The issue is that the sql file isn't the same as the one on my repo so I don't know if stopping the server and running it again would restore the sql file to it's git hub version
40 Replies
Project ID:
866079ee-0ce9-4a7d-8282-2e56ee9e6849
866079ee-0ce9-4a7d-8282-2e56ee9e6849
Please don't duplicate posts it looks like both your posts are about the same issue
Sorry
Would it be possible to keep a file in the docker when rebuilding?
It could also fix the issue since it wouldn't erase the db with the github one
why not host a proper postgres DB on railway? that way the data would persist, and then you could just access the data from your computer locally easily
no
It takes to much time to make requests and so makes my app crash
too much time? what do you mean by that
unless the latency was >1s or something it shouldn't just crater
When I used the railway postgress database, my app crashed no matter what timeout I gave to the workers
that sounds more like a misconfiguration with the connection details than a latency issue
The workaround I found was to then use a sqlite file instead
is this a django webapp by any chance?
It is
ah so you're using a sqlite3 db
Yes