Upgrade discourse container with external db


(Henrik Johansson) #1

Hi,

I have a question, if I have a few discourse containers running and what to upgrade I do a launcher rebuild of the container with is fine. But will it also do a db:migrate if necessary or how should I handle database changes?

Thanks


(Sam Saffron) #2

Yes, rebuild will migrate the db and precompile assets


(Henrik Johansson) #3

Thank you, I was a bit uncertain since some of the templates contains an explicit db:migrate (web.template.yml at least) and I was using web.template. But I guess bootstrap does the DB-part anyway but keeps the data. I will bring down all instances but one when upgrading and spin up more of the container created by the rebuild i guess.