steevepay / gitlab-docker-letsencrypt Goto Github PK
View Code? Open in Web Editor NEWGitlab CE + Docker Compose + Let's Encrypt (auto generate/renew)
Gitlab CE + Docker Compose + Let's Encrypt (auto generate/renew)
To ensure I'm troubleshooting correctly, my assumption on how this works:
docker-compose-letsencrypt-nginx-proxy-companion serves as a proxy and gitlab-docker-letsencrypt should sit behind the proxy as one of the websites?
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?
How to restart renewal process manually?
How to debug what's wrong?
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 ?
Hi, gitlab showed me an error and not pushing anything. (Error 413) - How can we setup it to upload large file?
When I want to upload image in wiki, it doesn't be uploaded and gets an error. Can you help me? @b41somp @steevepay
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.