Skip to content

Fix pages when access control is true#3213

Open
uda wants to merge 1 commit intosameersbn:masterfrom
uda:fix-pages
Open

Fix pages when access control is true#3213
uda wants to merge 1 commit intosameersbn:masterfrom
uda:fix-pages

Conversation

@uda
Copy link

@uda uda commented Feb 7, 2026

When GITLAB_PAGES_ACCESS_CONTROL is set to true the variable GITLAB_RELATIVE_URL_ROOT added recently is not being replaced causing pages to fail starting

@uda
Copy link
Author

uda commented Feb 7, 2026

Just noting, I verified this by switching to a build in my docker-compose.yml, the variable GITLAB_VERSION is set in .env

services:
  gitlab:
    image: "my.docker.io.proxy/sameersbn/gitlab:${GITLAB_VERSION}"
    build:
      context: ./
      args:
        GITLAB_VERSION: ${GITLAB_VERSION}
    depends_on:

The Dockerfile:

ARG GITLAB_VERSION

FROM my.docker.io.proxy/sameersbn/gitlab:${GITLAB_VERSION}

COPY runtime-functions /etc/docker-gitlab/runtime/functions

Running docker compose build and docker compose up -d now I have the pages system up and running

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant