Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lordveovis/docker-gitlab
A docker container for gitlab base on alpine as an alternative to the fat official omnibus container
https://github.com/lordveovis/docker-gitlab
Last synced: about 5 hours ago
JSON representation
A docker container for gitlab base on alpine as an alternative to the fat official omnibus container
- Host: GitHub
- URL: https://github.com/lordveovis/docker-gitlab
- Owner: LordVeovis
- License: gpl-3.0
- Created: 2017-11-11T16:35:53.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-17T22:27:20.000Z (over 5 years ago)
- Last Synced: 2024-11-19T06:59:04.722Z (2 months ago)
- Language: Shell
- Size: 45.9 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![nginx 1.12](https://img.shields.io/badge/nginx-1.12-brightgreen.svg) [![License: GPL v3](https://img.shields.io/github/license/LordVeovis/docker-gitlab.svg)](https://www.gnu.org/licenses/gpl-3.0) [![](https://img.shields.io/docker/pulls/veovis/gitlab.svg)](https://hub.docker.com/r/veovis/gitlab/ 'Docker Hub') [![](https://img.shields.io/docker/build/veovis/gitlab.svg)](https://hub.docker.com/r/veovis/gitlab/builds/ 'Docker Hub')
# 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 abandoned, 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