You have to activate the pages feature. In your gitlab.rb:
pages_external_url "IP_OF_YOUR_GITLAB"
gitlab_pages['enable'] = true
There is a tutorial: https://www.youtube.com/watch?v=dD8c7WNcc6s&feature=youtu.be And the complete documentation: https://docs.gitlab.com/ce/administration/pages/index.html
Answer from Jeremad on Stack OverflowSelf hosted Gitlab CE how to get Pages?
[Gitlab]Where can I find Gitlab Pages hosted on my private Gitlab instance? - Stack Overflow
Gitlab CE self host - Pages query
Gitlab pages self hosted with access control enabled, behind docker-compose and traefik2
Does anyone have advice on how to configure pages/gitlab.
I have a home lab with Nginx proxy Manager being used to redirect to various Docker containers hosted on it, using ports.
I have been working on a docker-compose file for Gitlab which can be found here this deploys a Gitlab CE, Redis & Postgres and configure them to integrate.
I have also developed a pipeline which generate documentation sites and the pages job and Gitlab seems to detect the generated website and store them against the pages URL.
Reading the documentation, I can't quite understand how I need to configure compose/gitlab so I can use a nginx redirect. I have tried googling and assume I am missing something obvious.
Any ideas from the community would be really appreciated.
You have to activate the pages feature. In your gitlab.rb:
pages_external_url "IP_OF_YOUR_GITLAB"
gitlab_pages['enable'] = true
There is a tutorial: https://www.youtube.com/watch?v=dD8c7WNcc6s&feature=youtu.be And the complete documentation: https://docs.gitlab.com/ce/administration/pages/index.html
You'll need to ask your sysadmin under which wildcard domain Pages is served: https://docs.gitlab.com/ce/user/project/pages/getting_started_part_one.html#gitlab-pages-domain
Then you'll know where your site was deployed to.
Example: on GitLab.com, all Pages domains are served under *.gitlab.io, therefore, your website will be deployed to username.gitlab.io (user/group site) or to username.gitlab.io/project-name (project website).
You need to find out the wildcard domain of your GitLab instance and replace gitlab.io with it.
See also: Pages' limitations: https://docs.gitlab.com/ce/user/project/pages/introduction.html#limitations
All,
I have a self-hosted instance of Gitlab CE and would like to use Gitlab Pages and CI to publish documentation.I have my own domain which is world accessible - i.e. mydomain.co.uk. Is it possible to publish my live documentation to docs.mydomain.co.uk ?
Or do I need a completely different domain to publish to? I have DNS control of my domain so can amend as necessary.
As the title states this question is about adding a pages and container registry host to a self-hosted Gitlab instance.
Pages: I'm looking for a description on how to set up an external pages host and have my the Gitlab CI/CD push sites to this host. I tried to look for this but I only ever find descriptions of how to use an already existing in gitlab-ci.yml. Feels like I may be missing something fundamental here.
Container registry: I'd like to publish images from the CI/CD to this registry. Admittedly I've not looked into this to the same extend as pages, but the docs I found are very vague.
Much appreciated!