|
Hello! If ContextForge is deployed via a container, what is the best/appropriate way to update to a new version? The upgrade doc mentions exporting configuration and making a database backup, but by default those files are encapsulated within the container. Is there a straightforward way to update this type of deployment? Or are upgrades practically only feasible if pointing to an external database? Thanks! |
Replies: 1 comment
|
Hi @l3ender, I would recommend you backup the running docker DB into a file in your system. Then create a docker volume that points to it (or better, start an external db and load the backup on it). Once you have the new db with the loaded backup you can deploy the new version pointing to it. Regards |
Hi @l3ender,
I would recommend you backup the running docker DB into a file in your system. Then create a docker volume that points to it (or better, start an external db and load the backup on it). Once you have the new db with the loaded backup you can deploy the new version pointing to it.
The migrations will be applied automatically when the new version starts.
Regards