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 OverflowDocker 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
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
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
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
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
02:25
Deploying Static Sites with GitLab Pages (it just got a whole lot ...
07:52
Enabling GitLab Pages for a Single Domain - YouTube
45:27
GItLab Pages development environment setup - YouTube
07:04
GitLab Pages running on Docker with access control enabled - YouTube
03:44
How to Publish a Website with GitLab Pages - YouTube
26:42
GitLab University: Docker - YouTube
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
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.
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.
Reddit
reddit.com › r/gitlab › using docker images for pages
r/gitlab on Reddit: using docker images for pages
March 20, 2021 -
Hey Guys,
I'm trying to understand this gitlab-ci.yml file:
My question is, is the docker image (ie, node) used just to compile the source or it is used for serving them? Because in the latter case whenever I browse my website the minutes are going to be counted towards my 400 free minutes?
Thanks
Top answer 1 of 2
1
It’s used just to compile the source. Pages is for static content only (in the public/ directory). The time it takes to build the source counts towards your 400 free minutes, if it’s a private project. Serving the page up to users is free.
2 of 2
1
https://docs.gitlab.com/ee/user/project/pages/ Sites are static. That means just plain HTML files. Any files in the “public” directory (artifact) when the build is done will get served.
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.