sameersbn / sameersbn/docker-gitlab

GITLAB_PORT shows up in invitation emails link url

Open
#2,411 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Hi!
As i am currently in the process of updating some things :-)
We just activated smtp and noticed that the GITLAB_PORT is visible in the generated URL inside the user invitation email:

https://gitlab.mydomain.com:10080/-/invites/YjxxcnrfNfws-sMBT6zrxxxxx

inside docker-compose.yml its properly configured:

gitlab:
  ports:
    - "10080:80" 

  environment:
    - GITLAB_PORT=10080

but it looks like the port is rendered into the link. I remember that also happend with some links inside gitlab, too.

Any why this is happening?

Many thanks and best,
Chris

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 the docker-compose.yml configuration and the GITLAB_PORT setting, then trace how GitLab constructs invitation email URLs. Reproduce the issue by sending an invitation and verify that the generated link no longer exposes the internal port, while related links remain correct.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, gitlab
Domain
backend, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.