Self hosted Gitlab CE how to get Pages?
Gitlab pages not getting enabled
[Gitlab]Where can I find Gitlab Pages hosted on my private Gitlab instance? - Stack Overflow
please help with the setup of pages and registry for a selfhosted Gitlab instance
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
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!
Ok, before ask, look at config files, my mistake.
There is no word about enabling Gitlab Pages in /etc/gitlab/gitlab.rb (in case of omnibus installs).
Current link to pages documentation: GitLab Pages
If you run into bind mount issue when using docker volume you'll also need to set this:
gitlab_pages['inplace_chroot'] = true