sameersbn / sameersbn/docker-gitlab

sameersbn/gitlab:8.5.8-1 unable to change nginx and ssh port

Open
#647 3 comments 2 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

I have defind GITLAB_PORT=2080 and GITLAB_SSH_PORT=2022 ,but when i start container.
I found that the nginx port and ssh port still 80 and 22.
The setting is Invalid.

if [[ $GITLAB_HTTPS == true ]]; then
GITLAB_PORT=${GITLAB_PORT:-443}
else
GITLAB_PORT=${GITLAB_PORT:-80}
fi

Could I set the port by my own?

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 from the container startup logic containing the shown GITLAB_PORT and GITLAB_SSH_PORT defaults, and reproduce the reported configuration with ports 2080 and 2022. Trace how those values are read and used; done means the running container exposes nginx on 2080 and SSH on 2022.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, shell
Domain
devops, infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.