![]() Fixes: SD-3169 Before rebuilding your image dump your existing 9.3 data: docker-compose start postgres docker-compose exec postgres pg_dumpall -c -U postgres > tmp/data.sql docker-compose stop postgres Once that is done clean up the old container, image and volume: docker-compose rm --force postgres docker rmi canvaslms_postgres docker volume rm canvaslms_pg_data Build the new image, start a container and populate it with your data: docker-compose build --pull postgres docker-compose start postgres cat tmp/data.sql | docker-compose exec postgres psql -U postgres Change-Id: Ib01e02dd583be0447c13756e89cb470b972af8cc Reviewed-on: https://gerrit.instructure.com/129977 Reviewed-by: Bryan Petty <bpetty@instructure.com> Tested-by: Jenkins QA-Review: Leo Abner <rabner@instructure.com> Product-Review: Tyler Pickett <tpickett@instructure.com> |
||
---|---|---|
.. | ||
Dockerfile |