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