sameersbn / sameersbn/docker-gitlab
GITLAB_PORT shows up in invitation emails link url
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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