infrastructure/roles/gitlab
Sheogorath 0859e99a6d
Fix condition for gitlab_log_tmpfs feature
In the current way, no volume for gitlab logs would be created by
default. This is undesired.
2021-02-01 08:52:48 +01:00
..
defaults gitlab: Add option to use a tmpfs instead of log bindmount 2021-02-01 08:51:59 +01:00
meta Fix meta file dependencies reference to docker_compose role 2020-09-26 20:02:46 +02:00
tasks Roles: Validate using the local docker-compose instead of python cmd 2021-01-02 04:46:15 +01:00
templates Fix condition for gitlab_log_tmpfs feature 2021-02-01 08:52:48 +01:00
README.md Initial commit 2020-08-10 01:37:13 +02:00

Gitlab

This will setup a Gitlab instance using their official docker container and traefik as a reverse proxy.

Requirements

You will need to have docker, docker-compose and traefik installed or declared as dependencies with their respective roles.

This role assumes that you have setup traefik with an endpoint called websecure.

Role Variables

Please look at the defaults/main.yml for all available variables and their description.

Note: Lines that are commented out via # are usually still valid/used variables, but they are not defined by default, so they might enable a feature, when uncommenting/defining them!

Global variables, that are used:

  • proxy_network: Defined by the local traefik installation, this is the shared proxy network used by traefik to reach the containers. (optional)
  • proxy_hiddenservice: Defined by the local traefik installation, this is used to generate the alt-svc header for the alternative Tor domain. (optional)

Dependencies

  • docker
  • docker-compose
  • traefik

License

GPL-3.0-only