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
Percy
Percy2y ago
Project ID: 866079ee-0ce9-4a7d-8282-2e56ee9e6849
MadeInShineA
MadeInShineA2y ago
866079ee-0ce9-4a7d-8282-2e56ee9e6849
Finn
Finn2y ago
Please don't duplicate posts it looks like both your posts are about the same issue
MadeInShineA
MadeInShineA2y ago
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
jackson
jackson2y ago
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
Finn
Finn2y ago
no
MadeInShineA
MadeInShineA2y ago
It takes to much time to make requests and so makes my app crash
jackson
jackson2y ago
too much time? what do you mean by that unless the latency was >1s or something it shouldn't just crater
MadeInShineA
MadeInShineA2y ago
When I used the railway postgress database, my app crashed no matter what timeout I gave to the workers
jackson
jackson2y ago
that sounds more like a misconfiguration with the connection details than a latency issue
MadeInShineA
MadeInShineA2y ago
The workaround I found was to then use a sqlite file instead
jackson
jackson2y ago
is this a django webapp by any chance?
MadeInShineA
MadeInShineA2y ago
It is
jackson
jackson2y ago
ah so you're using a sqlite3 db
MadeInShineA
MadeInShineA2y ago
Yes
Want results from more Discord servers?
Add your server