README: added upgrading section.

This commit is contained in:
Sameer Naik 2013-11-24 17:18:35 +05:30
parent e1e061656b
commit 22abcfa701

View File

@ -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.