Welcome to the GitLab Docker Compose repository! This guide will help you set up a self-hosted GitLab CE server and GitLab Runners using Docker Compose. The repository is organized into daily steps to make the setup process easy to follow.
This repository provides:
- A step-by-step guide to install GitLab CE in a Docker container.
- Instructions to set up GitLab Runner with multiple executors:
- Shell
- Docker
- Docker-in-Docker (DinD)
- Easy-to-follow Docker Compose configurations to manage services.
Learn how to:
- Set up a GitLab CE server in Docker.
- Use Docker Compose to simplify deployment and management.
- Configure GitLab for first-time use.
Learn how to:
- Run GitLab Runner inside Docker using Docker Compose.
- Register the runner with your GitLab instance.
- Persist runner configuration and isolate it from your host system.
Learn how to:
- Set up SSL for GitLab using Nginx reverse proxy.
- Configure GitLab to use the SSL certificate.
- Secure your GitLab instance with HTTPS.
Learn how to:
- Configure GitLab to use SMTP for email notifications.
- Set up SMTP credentials for GitLab.
- Configure GitLab to send email notifications.
Learn how to:
- Set up SSH for GitLab.
- Configure GitLab to use SSH for authentication.
- Set up SSH keys for GitLab.
.
βββ Day-01 # Day 1: GitLab installation
βββ Day-02 # Day 2: GitLab Runner registration
βββ Day-03 # Day 3: Gitlab SSL setup with Nginx Reverse Proxy
βββ Day-04 # Day 4: Gitlab SMTP configuration
βββ Day-05 # Day 5: Gitlab SSH Setup
βββ README.md # Main overview (this file)
Follow the daily guides in order to have a fully working GitLab CE server with registered runners.
This project is maintained by DevOps In Action, mainly focusing on practical, hands-on DevOps setups for CI/CD automation, containerization, and infrastructure management.
Please star the repo and share it! Thanks a lot! π