canvas-lms/docker-compose/postgres
Tyler Pickett a0e14364b8 Update to Postgres 9.5 and fix installing pg_collkey
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>
2017-10-18 14:08:38 +00:00
..
Dockerfile Update to Postgres 9.5 and fix installing pg_collkey 2017-10-18 14:08:38 +00:00