Skip to content

πŸš€ This repository offers a comprehensive, step-by-step guide to setting up a GitLab server and Runner using Docker containers. It covers various configurations, including the Docker executor, Docker-in-Docker (DinD), Kaniko, and GitLab Registry setup. Each section is paired with a YouTube tutorial and for deeper understanding.

Notifications You must be signed in to change notification settings

meibraransari/Gitlab-Zero-To-Hero

Repository files navigation

GitLab Docker Compose Setup

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.

GitLab Logo

Overview

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.

Daily Guide

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.

Repository Structure


.
β”œβ”€β”€ 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.

🧠 About This Project

This project is maintained by DevOps In Action, mainly focusing on practical, hands-on DevOps setups for CI/CD automation, containerization, and infrastructure management.

πŸ’Ό Connect with Me πŸ‘‡πŸ˜Š

⭐ If You Found This Helpful...

Please star the repo and share it! Thanks a lot! 🌟

About

πŸš€ This repository offers a comprehensive, step-by-step guide to setting up a GitLab server and Runner using Docker containers. It covers various configurations, including the Docker executor, Docker-in-Docker (DinD), Kaniko, and GitLab Registry setup. Each section is paired with a YouTube tutorial and for deeper understanding.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published