R
Railway13mo ago
jogchum

Service docker image source

Hello! How would one update the version of a deployed docker image? If you deploy a service via git that works by just pushing new commits to a branch, but as an example: what if I had a service for a postgresql database with postgis, using an image from docker hub: postgis/postgis:15-3.3. How would I update that to postgis/postgis:15-3.4?
14 Replies
Percy
Percy13mo ago
Project ID: N/A
jogchum
jogchum13mo ago
N/A
Alex Stewart
Alex Stewart13mo ago
Curious about this as well.
Brody
Brody13mo ago
remove the image and add your updated image back
jogchum
jogchum13mo ago
I suppose you mean the "disconnect repo from service" button? doesnt that also remove the active deployment?
Brody
Brody13mo ago
it doesn't, but why is a service with an image giving you an option to disconnect a repo?
jogchum
jogchum13mo ago
No description
Brody
Brody13mo ago
lmao good catch
jogchum
jogchum13mo ago
ha indeed, but I suppose it does what you meant
Brody
Brody13mo ago
yes haha make sure you have database backups, railway is not responsible for any data loss caused by the user
jogchum
jogchum13mo ago
I was worried it would remove the running instance but it doesn't so it is actually useful to change the image, which also allows for doing something completely different with a service (might be confusing) yes! good point, I was using the database image purely as example but you are correct
Brody
Brody13mo ago
👍
jogchum
jogchum13mo ago
Thanks @Brody
Brody
Brody13mo ago
no problem
Want results from more Discord servers?
Add your server