https://github.com/imagine10255/bear-docker-gitlab-ce
Gitlab-ci + Gitlab-Runner for Docker-compose
https://github.com/imagine10255/bear-docker-gitlab-ce
docker-compose gitlab-ci gitlab-runner
Last synced: 8 months ago
JSON representation
Gitlab-ci + Gitlab-Runner for Docker-compose
- Host: GitHub
- URL: https://github.com/imagine10255/bear-docker-gitlab-ce
- Owner: imagine10255
- Created: 2017-08-15T09:09:12.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-02-12T02:54:50.000Z (almost 3 years ago)
- Last Synced: 2025-06-12T20:03:44.366Z (8 months ago)
- Topics: docker-compose, gitlab-ci, gitlab-runner
- Language: Shell
- Size: 3.62 MB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
bear-docker-gitlab-ce
====================================================

## What's this:
Gitlab-ce + Gitlab-Runner for docker-compose
## How to and other docker-compose use the same network :
```bash
#if you not have group network, you can create this, and other docker-compose use this network setting
~ $ docker network create --driver bridge service_group
```
## How to start:
```bash
~/ $ git clone https://github.com/imagine10255/bear-docker-gitlab-ce gitlab
~/ $ cd gitlab
~/gitlab $ vi docker-compose.yml
```
Change your domain in `./docker-compose.yml`
Create your ssl cert (not use cloudflare proxy ssl)
```bash
# change your domain in ./create_cert.sh
$ sh create_cert.sh
```
```bash
~/gitlab $ docker-compose up -d
```
Check root password
```bash
docker exec -it gitlab grep 'Password:' /etc/gitlab/initial_root_password
```
## Ref
- [GitLab CI 上傳 Image 到 Google Container Registry](https://ithelp.ithome.com.tw/articles/10266998)
- [Update: Using Free Let’s Encrypt SSL/TLS Certificates with NGINX](https://www.nginx.com/blog/using-free-ssltls-certificates-from-lets-encrypt-with-nginx/)
- [攻略docker版Let's Encrypt憑證申請](https://www.ccc.tc/article/letsencrypt)
- [docker-gitlab 與 container registry](https://blog.elleryq.idv.tw/2017/12/docker-gitlab-container-registry.html)