GithubHelp home page GithubHelp logo

steevepay / gitlab-docker-letsencrypt Goto Github PK

View Code? Open in Web Editor NEW
32.0 5.0 11.0 15 KB

Gitlab CE + Docker Compose + Let's Encrypt (auto generate/renew)

gitlab-ce docker docker-compose letsencrypt gitlab

gitlab-docker-letsencrypt's Issues

it no work

I have been messing with this for days. It isnt working. No matter what I try, SSL is not going to my gitlab. Any tips?

Error adding a runner

Hi,
I tried to add a runner by adding this in the docker-compose.yml:

gitlab-runner1:
image: gitlab/gitlab-runner:latest
restart: always
container_name: gitlab-runner1
hostname: gitlab-runner1
depends_on:
- gitlab-letsencrypt
volumes:
- ./config/gitlab-runner:/etc/gitlab-runner
- /var/run/docker.sock:/var/run/docker.sock
networks:
- default

I then run a script to register the running like this:
registration_token=xxxxxxxxxxxxxxx
url=http://gitlab-letsencrypt

docker exec -it gitlab-runner1
gitlab-runner register
--non-interactive
--registration-token ${registration_token}
--locked=false
--description docker-stable
--url ${url}
--executor docker
--docker-image docker:stable
--docker-volumes "/var/run/docker.sock:/var/run/docker.sock"
--docker-network-mode default
And it runs and registers successfully.

The thing is that the runner systematically fails any jobs with the following error:

Running on runner-94ds8ayaf-project-1-concurrent-0 via gitlab-runner1...
Getting source from Git repository 00:01
Fetching changes with git depth set to 20...
Reinitialized existing Git repository in /builds/doc-editor/xxxxxxxxxxxxxxxxx/.git/
remote: HTTP Basic: Access denied. The provided password or token is incorrect or your account has 2FA enabled and you must use a personal access token instead of a password. See https://xxxxxxxxxxxxxx/help/topics/git/troubleshooting_git#error-on-git-fetch-http-basic-access-denied
fatal: Authentication failed for 'http://xxxxxxxxxxxxxxxxxxxx.git/'
ERROR: Job failed: exit code 1

I also tried to use an extra_host in the docker-compose.yml to force to use the public ip address and then to be able to use the https endpoint...but I got the same error.
Did you already experienced this kind of issue and managed to find a solution ?

unable to get ssh to work.

I am unable to get the ssh pull and push to work.

I am thinking the issue may have to be with the proxy not using port 22.
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.