Sign inSign up

veovis/gitlab

By veovis

•Updated almost 9 years ago

GitLab Community Edition docker image based on Alpine

Image
0

545

veovis/gitlab repository overview

nginx 1.12 License: GPL v3

⁠About

This is a docker container for Gitlab build around Alpine Linux for compacity as an alternative to the fat official Omnibus package. This project is abandonned, the needed effort to reduce the image size was not worth it. You can read more at (in french): https://blog.kveer.fr/packager-gitlab/⁠

⁠Technical stack

  • alpine 3.7

  • nginx 1.12

  • ruby 2.3.5

  • git 2.15.0

  • go 1.9.2

  • dillon's cron 4.5

  • Gitlab 10.2.4

  • gitaly 0.52.1

  • gitlab pages 0.6.0

  • gitlab Shell 5.10.0

  • gitlab workhorse 3.3.1

  • sidekiq 5.0.4

⁠Configuration

The first time the container is launched, it initializes the /config directory, then stops itself to let you review all settings according to your environment. This directory MUST be mapped to keep the same configuration of your gitlab environment, including the generated secrets, through the updates.

⁠Environment variables

  • TIMEZONE: the desired timezone. Example: Europe/Paris
  • GITLAB_ROOT_PASSWORD: password of the first gitlab user if it does not exists. This parameter is only used the first time the database is initialized.
  • GITLAB_HOST: the schema and hostname where the website can be reachable. Example: https://gitlab.kveer.fr⁠
  • RAILS_ENV: production
  • DATABASE_URL: connection string to the database. For now, only mysql is supported. Example: mysql2://gitlab_user:gitlab_pwd@mysql/gitlab
  • GITLAB_EMAIL_FROM: Gitlab will sent email with this email as a sender. Example: [email protected]⁠
  • GITLAB_EMAIL_DISPLAY_NAME: The display name of the sender. Example: Gitlab Kveer
  • GITLAB_EMAIL_SUBJECT_PREFIX: The object prefix for generated emails. Example: "[gitlab]"
  • GITLAB_UNICORN_MEMORY_MAX: The maximum amount of ram unicorn can use. Example: 128M

⁠Volumes

  • /config: contains all configuration of gitlab

Tag summary

Content type

Image

Digest

Size

474.1 MB

Last updated

almost 9 years ago

docker pull veovis/gitlab