Skip to content

Docker Compose setup for starting GitLab with Træfik

License

Notifications You must be signed in to change notification settings

solution-libre/docker-gitlab

Repository files navigation

GitLab with Docker Compose

Table of Contents

  1. Description
  2. Setup
  3. Usage
  4. Reference
  5. Development
  6. Contributors

Description

Docker Compose setup for starting GitLab with Træfik.

Setup

cd /opt
git clone https://github.com/solution-libre/docker-gitlab.git gitlab
cd gitlab

Declare environment variables or copy the .env.dist to .env and adjust its values.

Usage

cd /opt/gitlab
docker compose up -d

Reference

Environment variables

GITLAB_HOSTNAME

The GitLab hostname. Default value: 'my.domain.tld'

GITLAB_SSH_PORT

The GitLab SSH port for git. Default value: '22'

Development

Solution Libre's repositories are open projects, and community contributions are essential for keeping them great.

Fork this repo on GitHub

Contributors

The list of contributors can be found at: https://github.com/solution-libre/docker-gitlab/graphs/contributors