Category : gitlab-omnibus

I have enabled the Continer Registry on Gitlab under the gitlab.yml file where I have set the registry_external_url to look like this http://registry.domain. I have configured my .gitlab-ci.yml to log in Docker this way: docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY an I have set the following docker image: image: docker:18-git services: – docker:18-dind But ..

Read more

I change GitLab docker image to latest version but after run, service doesn’t start and just log this, What should I do? Current version: gitlab-ce=14.2.3-ce.0 Configure GitLab for your system by editing /etc/gitlab/gitlab.rb file And restart this container to reload settings. To do it use docker exec: docker exec -it gitlab editor /etc/gitlab/gitlab.rb docker restart ..

Read more

In my CI/CD-pipeline in Gitlab, I build docker images and push them to my local container registry. If I use the image in my integration-test, I cannot access the webserver. CI/CD-Job: test: stage: integration-test services: – name: $CI_REGISTRY/$CI_PROJECT_PATH/<name>:latest alias: <name> script: – bash ./contrib/ci/integration.sh Dockerfile: FROM httpd:2.4 COPY public-html /usr/local/apache2/htdocs/ My shell-script: PHPFPM_HOST=${PHPFPM_HOST:-phpfpm} curl ${PHPFPM_HOST}:8080 ..

Read more

I installed Gitlab Omnibus on Linux Debian and I did everything as mentioned here GITLAB-DOCS to activate the Container Registry, but when doing docker login <Gitlab-Domain:Port> locally on the machine (ssh-connection) I get the following error: Error response from daemon: Get <Gitlab-Domain:Port/v2>: x509: certificate signed by unknown authority I am using a Lets-Encrypt-SSL-Certificate Source: Docker ..

Read more

I have the set-up for docker-compose like this version: "3.2" services: gitlab: image: gitlab/gitlab-ce:latest container_name: gitlab-container restart: always environment: – GITLAB_OMNIBUS_CONFIG: | external_url ‘https://192.46.223.235’ gitlab_rails[‘gitlab_shell_ssh_port’] = 10022 letsencrypt[‘enabled’] = false nginx[‘enable’] = true nginx[‘redirect_http_to_https’] = false nginx[listen_port] = 10080 nginx[listen_https] = false ports: – "10080:80" – "10022:22" volumes: – ‘$GITLAB_HOME/config:/etc/gitlab’ – ‘$GITLAB_HOME/logs:/var/log/gitlab’ – ‘$GITLAB_HOME/data:/var/opt/gitlab’ So, ..

Read more

I am following the tutorial here, and came up with the following configuration file for docker-compose: web: image: ‘gitlab/gitlab-ce:latest’ restart: always hostname: ‘gitlab.example.com’ environment: GITLAB_OMNIBUS_CONFIG: | external_url ‘https://gitlab.example.com’ # Add any other gitlab.rb configuration here, each on its own line ports: – ‘3000:3000’ – ‘3005:3005’ – ‘3010:3010’ volumes: – ‘/srv/gitlab/config:/etc/gitlab’ – ‘/srv/gitlab/logs:/var/log/gitlab’ – ‘/srv/gitlab/data:/var/opt/gitlab’ Then ..

Read more

I am trying to set up a home GitLab + GitLab container registry(VM ubuntu omnibus install) behind an Nginx reverse proxy(win10): I took the Nginx config from here: https://gitlab.com/gitlab-org/gitlab-recipes/-/tree/master/web-server/nginx server { listen 443 ssl; listen 5050 ssl; #listen [::]:443 ipv6only=on ssl; server_name my-gitlab.org; ## Replace this with something like gitlab.example.com server_tokens off; ## Don’t show ..

Read more