Getting custom subdomain after GitLab CI/CD

45 Views Asked by At

coming here with a problem.

At the moment, I have a self hosted GitLab instance with Container Registry on server A. On server B, I have some GitLab runners that I have registered and I would like to be able to deploy my web apps for review as part of a CI/CD pipeline and be able to access the deployed apps in the browser.

For the time being, I have it hosted at git.domain.my and I would like to be able to deploy apps with/without docker/kubernetes and obtain a link to view in browser, something like

http://project-name-branch-name.git.domain.my.

I would really appreciate any tips or routes to follow for solving the issue.

For the moment, we tried setting up some Nginx based-deployments, but we have problems with setting up DNS with responding to URLs of type http://project-name-branch-name.git.domain.my. on an automated basis after deployment.

0

There are 0 best solutions below