Skip to content

Sthaaz/gitlab-docker-ansible-deploy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gitlab server setup using Ansible and Docker

This Ansible playbook can help you set up a Gitlab instance:

  • on your own Debian/CentOS/RedHat server
  • with all services (Gitlab, Postgres, Redis, etc.) being put in Docker containers
  • powered by the sameersbn/docker-gitlab Docker image

SSL certificates are automatically retrieved from Let's Encrypt.

Installation

To configure and install Gitlab on your own server, follow the README in the docs/ directory.

Docker images used by this playbook

This playbook sets up your server using the following Docker images:

  • sameersbn/gitlab - the sameersbn/docker-gitlab Gitlab server image. Note: this is not the official gitlab/gitlab-ce Gitlab image. We use the sameersbn/gitlab image, because it doesn't force us into running services (Postgres database, Redis server) into the Gitlab container (we run those services in other container ourselves).

  • redis - the official Redis image. Note: we don't use the sameersbn/redis image (which is recommended for sameersbn/gitlab), because the official one is more up-to-date

  • sameersbn/postgresql - the sameersbn/docker-postgresql Postgres server. Note: we don't use the official Postgres image, because Gitlab requires additional extensions (pg_trgm).

  • devture/exim-relay - an Exim SMTP server we use by default, so that Gitlab can send emails. By default, email is delivered directly, but you can also configure the service to relay emails through another SMTP server.

Support

About

Gitlab server setup using Ansible and Docker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jinja 72.0%
  • Shell 23.8%
  • Makefile 4.2%