R
Railway14mo 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
Percy14mo ago
Project ID: N/A
jogchum
jogchumOP14mo ago
N/A
Alex Stewart
Alex Stewart14mo ago
Curious about this as well.
Brody
Brody14mo ago
remove the image and add your updated image back
jogchum
jogchumOP14mo ago
I suppose you mean the "disconnect repo from service" button? doesnt that also remove the active deployment?
Brody
Brody14mo ago
it doesn't, but why is a service with an image giving you an option to disconnect a repo?
jogchum
jogchumOP14mo ago
No description
Brody
Brody14mo ago
lmao good catch
jogchum
jogchumOP14mo ago
ha indeed, but I suppose it does what you meant
Brody
Brody14mo ago
yes haha make sure you have database backups, railway is not responsible for any data loss caused by the user
jogchum
jogchumOP14mo 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
Brody14mo ago
👍
jogchum
jogchumOP14mo ago
Thanks @Brody
Brody
Brody14mo ago
no problem
Want results from more Discord servers?
Add your server