From 22abcfa701cb858d27e0d580f3bfd455bf02134d Mon Sep 17 00:00:00 2001 From: Sameer Naik Date: Sun, 24 Nov 2013 17:18:35 +0530 Subject: [PATCH] README: added upgrading section. --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 24689d8a..ae23fbd9 100644 --- a/README.md +++ b/README.md @@ -107,6 +107,16 @@ docker run -d \ -v /opt/gitlab/.ssh:/home/git/.ssh gitlabhq/gitlab ``` +## Upgrading + +If you upgrading from previous version, please make sure you run the container with **migrate** command. + +```bash +docker run -i -t \ + -e "DB_HOST=192.168.1.100" -e "DB_NAME=gitlabhq_production" -e "DB_USER=gitlab" -e "DB_PASS=password" \ + gitlabhq/gitlab migrate +``` + ### Other options Below is the complete list of parameters that can be set using environment variables.