sameersbn / sameersbn/docker-gitlab

Upgradability - docker

Open
#1,112 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

wontfix
Dominant language
Shell
Stars
8.1k
Forks
2.1k
Avg merge
17h 47m
Merged PRs (30d)
7

Description

Hi,

Would it be better to add more volumes to https://github.com/sameersbn/docker-gitlab/blob/master/docker-compose.yml as shown in https://docs.gitlab.com/omnibus/docker/#upgrade-gitlab-to-newer-version to enable upgradability?

Thanks,
Jeff

gitlab:
restart: always
image: sameersbn/gitlab:8.16.6
depends_on:
- redis
- postgresql
ports:
- "10080:80"
- "10022:22"
volumes:
instead of

  • /srv/docker/gitlab/gitlab:/home/git/data:Z

use

  • /srv/gitlab/config:/etc/gitlab \
  • /srv/gitlab/logs:/var/log/gitlab \
  • /srv/gitlab/data:/var/opt/gitlab **

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with docker-compose.yml and compare its current volume mapping with the linked GitLab Docker upgrade documentation. Verify which configuration, log, and data paths must persist across image upgrades; the change is done when the compose setup supports the documented upgrade layout.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, docker-compose
Domain
devops, infrastructure
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.