My latest config for gitlab 16.x.x

GITLAB_OMNIBUS_CONFIG: |
        ### Web interface settings
        external_url "https://gitlab.domain.org"
        nginx['listen_port'] = 80
        nginx['listen_https'] = false

        ### Pages
        gitlab_pages['enable'] = true
        pages_external_url "https://pages.domain.org"
        pages_nginx['ssl'] = false
        pages_nginx['listen_https'] = false
        gitlab_pages['listen_proxy'] = '0.0.0.0:8090'
        gitlab_pages['internal_gitlab_server'] = 'http://localhost:8080'

This is a configuration for 1 docker container, which stays behind a reverse proxy(nginx/traefik/whatever). If you terminate https(TLS) on the load balancer it proxies traffic to HTTP ports: 80 - gitlab, 8090 - pages.

Answer from Roman Dolgov on Stack Overflow
🌐
Docker Hub
hub.docker.com › r › genshen › gitlab-pages
genshen/gitlab-pages - Docker Image
git clone https://github.com/genshen/docker-gitlab.git cd docker-gitlab docker pull genshen/gitlab-ce:latest docker pull genshen/gitlab-pages:latest mkdir -p data/gitlab data/gitlab-pages data/postgresql data/redis data/gitlab-pages/shared docker-compose run --rm gitlab init # initialize gitlab database docker-compose up Copy
Discussions

Gitlab pages self hosted with access control enabled, behind docker-compose and traefik2
Hi ! I have a docker instance of self-hosted Gitlab and I wanted to add gitlab pages to it… All of this runs behind traefik2 (a reverse proxy). I was able to make gitlab pages work normally, but when I enabled access_control, it didn’t work anymore… If the repository is public, the pages ... More on forum.gitlab.com
🌐 forum.gitlab.com
1
0
April 13, 2022
Is it possible to deploy a dockerized app to Gitlab pages?
I have a dockerized app I want to host on Gitlab Pages. I have a build step docker-build: stage: docker-build image: docker:latest services: - name: docker:dind before_script: - echo $CI_BUILD_TOKEN | docker login -u "$CI_REGISTRY_USER" --password-stdin $CI_REGISTRY script: - docker build --pull ... More on forum.gitlab.com
🌐 forum.gitlab.com
1
0
May 29, 2021
Gitlab-pages with OMNIBUS (docker-compose) behind a nginx proxy
Hi, I’m trying to configure a gitlab instance behind a nginx proxy. Unfortunately, I have some problems for setting the gitlab-pages. My server has not only gitlab, so gitlab is on a subdomain gitlab.exemple.fr, and I’… More on forum.gitlab.com
🌐 forum.gitlab.com
5
0
September 21, 2023
Gitlab EE with Docker and Pages - How to Use GitLab - GitLab Forum
Long Post…sorry. So I’ve been assigned a task of setting up Gitlab Pages for my company and boy am I having a bugger of time wrapping my head around all of it. The documentation makes it seem about as straight forward as it can be, but then there is a plethora of conflicting ‘how-to’ ... More on forum.gitlab.com
🌐 forum.gitlab.com
0
June 4, 2020
🌐
GitLab
forum.gitlab.com › gitlab ci/cd
Run docker on a gitlab Pages - GitLab CI/CD - GitLab Forum
February 9, 2021 - Hello everyone, I have a quick question. Is it possible to run a docker images on a gitlab pages ? Basiccaly, I would like to run this one on a gitlab pages: Tx
🌐
GitLab
forum.gitlab.com › general
Gitlab pages self hosted with access control enabled, behind docker-compose and traefik2 - General - GitLab Forum
April 13, 2022 - Hi ! I have a docker instance of self-hosted Gitlab and I wanted to add gitlab pages to it… All of this runs behind traefik2 (a reverse proxy). I was able to make gitlab pages work normally, but when I enabled access_con…
🌐
GitLab
gitlab.com › gitlab.org › omnibus-gitlab › #2033
How to enable GitLab Pages in the Docker variant (#2033) · Issues · GitLab.org / omnibus-gitlab · GitLab
Hi, I'd like to know if there is some documentation on enabling GitLab Pages in the Docker variant of GitLab. So far I've found only this...
🌐
GitLab
docs.gitlab.com › gitlab docs › install › installation methods › docker
Install GitLab in a Docker container | GitLab Docs
To run GitLab in a Docker container, use a GitLab image, which contains all of the necessary services in a single container.
Find elsewhere
🌐
GitHub
github.com › sameersbn › docker-gitlab › blob › master › assets › runtime › config › nginx › gitlab-pages
docker-gitlab/assets/runtime/config/nginx/gitlab-pages at master · sameersbn/docker-gitlab
## GitLab · ## ## Pages serving host · server { listen 0.0.0.0:80; listen [::]:80; ## Replace this with something like pages.gitlab.com · server_name ~^.*{{GITLAB_PAGES_DOMAIN}}; ## Individual nginx logs for GitLab pages ·
Author: sameersbn
🌐
GitLab
forum.gitlab.com › gitlab ci/cd
Gitlab-pages with OMNIBUS (docker-compose) behind a nginx proxy - GitLab CI/CD - GitLab Forum
September 21, 2023 - Hi, I’m trying to configure a gitlab instance behind a nginx proxy. Unfortunately, I have some problems for setting the gitlab-pages. My server has not only gitlab, so gitlab is on a subdomain gitlab.exemple.fr, and I’…
🌐
Docker Hub
hub.docker.com › r › tcjn › gitlab-ce-pages
tcjn/gitlab-ce-pages - Docker Image
© 2025 Docker, Inc. All rights reserved. | Terms of Service | Subscription Service Agreement | Privacy | Legal
🌐
GitLab
docs.gitlab.com › gitlab docs › use gitlab › deploy and release your application › gitlab pages › tutorial: create website from scratch
Tutorial: Create a GitLab Pages website from scratch | GitLab Docs
This specific Ruby image is maintained on DockerHub. Add a default image to your pipeline by adding this CI/CD configuration to the beginning of your .gitlab-ci.yml file:
🌐
GitLab
forum.gitlab.com › how to use gitlab
Gitlab EE with Docker and Pages - How to Use GitLab - GitLab Forum
June 4, 2020 - Long Post…sorry. So I’ve been assigned a task of setting up Gitlab Pages for my company and boy am I having a bugger of time wrapping my head around all of it. The documentation makes it seem about as straight forward as it can be, but then there is a plethora of conflicting ‘how-to’ ...
🌐
Server Fault
serverfault.com › questions › 1047390 › gitlab-pages-running-in-docker-inaccessible-from-outside-the-container
nginx - GitLab Pages running in Docker inaccessible from outside the container - Server Fault
December 24, 2020 - Made a request from the container # curl localhost:8090 -> 404 error page · From this I assume that something is blocking incomming traffic for 8090 (GitLab Pages), but requests to 80 (GitLab) are completed successfully.
🌐
Tombroughton
tombroughton.me › series › self-hosted-gitlab-in-docker
Self-Hosted Docker Gitlab, CI and Pages
December 4, 2020 - I could just add rows into my /etc/hosts file for the host domains but I’d prefer a more elegant solution. I’m going to set up local DNS forwarding using dnsmasq so I can host Gitlab and Gitlab pages on my local machine. Gitlab will need 2 host domains, one to route to the main Gitlab UI and the second to route to the published Gitlab pages.
🌐
GitHub
github.com › sameersbn › docker-gitlab
GitHub - sameersbn/docker-gitlab: Dockerized GitLab · GitHub
July 31, 2026 - Dockerized GitLab · www.damagehead.com/docker-gitlab/ code-hostingcontainersdockerdocker-imagegitgitlabgitlab-ce · Readme · MIT license · Contributing · Activity · 8.1k stars · 278 watching · 2.1k forks · Report repository ·
Author: sameersbn
🌐
Docker Hub
hub.docker.com › r › gitlab › gitlab-ce
gitlab/gitlab-ce - Docker Image
The official GitLab Enterprise Edition Docker image is available on Docker Hub⁠.
🌐
GitLab
docs.gitlab.com › 12.10 › omnibus › docker
Sign in · GitLab
To the extent any personal data is collected through these cookies, GitLab processes that data on the basis of your consent. ... These cookies enable different advertising related functions. They may allow us to record information about your visit to our websites, such as pages visited, links ...