<< October 2018 | Home | December 2018 >>

Upgrade QNAP ContainerStation Gitlab

I finally figured out how to upgrade a Gitlab Docker container in QNAP's Container Station on my TS-453 Pro.  Based on this post on QNAP's forum I was able to upgrade Gitlab from 8.9.6-1 to 11.4.5...

Edit the docker-compose.yml file for Gitlab...

vi /share/CACHEDEV1_DATA/.qpkg/container-station/data/application/gitlab/docker-compose.yml

Change the version image version to 11.4.5...

image: sameersbn/gitlab:11.4.5

Restart Docker...

docker-compose stop
docker-compose up -d

NOTE:  Since I was upgrading from a version prior to 8.11.0 I also had to add the below gitlab environment parameters in the docker-compose.yml file...

GITLAB_SECRETS_SECRET_KEY_BASE
GITLAB_SECRETS_OTP_KEY_BASE

An example docker-compose.yml file can be found here at https://github.com/sameersbn/docker-gitlab/blob/master/docker-compose.yml.

Social Bookmarks :  Add this post to Slashdot    Add this post to Digg    Add this post to Reddit    Add this post to Delicious    Add this post to Stumble it    Add this post to Google    Add this post to Technorati    Add this post to Bloglines    Add this post to Facebook    Add this post to Furl    Add this post to Windows Live    Add this post to Yahoo!

Export this post as PDF document  Export this post to PDF document