Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/docker
AgeCommit message (Collapse)Author
2015-03-20Separate Dockerfile for Data and ApplicationJozef Vaclavik
2015-03-10Upgrade Docker image to GitLab v7.8.3Stan Hu
2015-03-01Update Dockerfile for GitLab 7.8.1Robert Schilling
2015-02-24Gracefully shutdown services in Docker containerkfei
The problem is `docker stop` only sends SIGTERM to the PID 1 inside the container, and the PID 1 (`/bin/sh -c ...`) does not take care of signals. Hence the services (e.g., postgresql, redis, sidekiq, etc) never have chances to graceful shutdown. Docker just kills the container after its 10 seconds timeout by default. What this commit does: 1) Add a wrapper as the default executable of Docker container. Which starts services through `runit`, reconfigure Gitlab by `gitlab-ctl` and gracefully shutdown all services when a SIGTERM is received. 2) Create an `assets` directory for assets. 3) Add `.dockerignore` file. Now you'll see the following log messages after `docker stop`: ``` SIGTERM signal received, try to gracefully shutdown all services... ok: down: logrotate: 1s, normally up ok: down: nginx: 0s, normally up ok: down: postgresql: 1s, normally up ok: down: redis: 0s, normally up ok: down: sidekiq: 0s, normally up ok: down: unicorn: 0s, normally up ``` Signed-off-by: kfei <kfei@kfei.net>
2015-02-23Bump GitLab for Docker to version 7.8.0shafan
2015-01-31Bump GitLab for Docker to version 7.7.2Vincent Robert
2015-01-29Bump Gitlab for Docker to 7.7.1Vincent Robert
2015-01-15Update the Omnibus package in Dockerfilekfei
From 7.5.3 to 7.6.2. Signed-off-by: kfei <kfei@kfei.net>
2014-12-20Merge pull request #8458 from kfei/docker/reduce-image-sizeDmitriy Zaporozhets
Reduce the size of Docker image
2014-12-17Reduce the size of Docker imagekfei
1) Add `--no-install-recommends` option to `apt-get install`, this avoids lots of (~30MB) unnecessary packages. 2) Add `ca-certificates` package for `wget` fetching stuffs from Amazon S3. 3) There is no need to run `apt-get clean` for an image derived from official Ubuntu since they already cleaned (see also: http://goo.gl/B2SQRB) all the garbages produced by `apt-get`. Signed-off-by: kfei <kfei@kfei.net>
2014-12-16Update the Omnibus package in Dockerfilekfei
From 7.5.2 to 7.5.3. Signed-off-by: kfei <kfei@kfei.net>
2014-12-04Fix typo in the README.md for dockerzertrin
The container name has been previously renamed to "gitlab_app".
2014-12-04Fix spelling error in dockerfile, thanks Vincent for noting it.Sytse Sijbrandij
2014-12-04Merge branch 'docker-version-upgrades' into 'master'Sytse Sijbrandij
Docker version upgrades See merge request !251
2014-12-04Add some comments about updating the Omnibus package download location for ↵Sytse Sijbrandij
the docker image.
2014-12-04Reword configuration to recommend an interactive command lineVincent Robert
2014-12-04gitlab-ctl can now be followed with docker logsVincent Robert
2014-12-04Move to 7.5.2Vincent Robert
2014-12-03Remove docker file maintainer at his request. ↵Sytse Sijbrandij
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/245#note_647506
2014-12-03Add password hint.Sytse Sijbrandij
2014-12-03Move commands to the readme, rename gitlab to gitlab_app, add PostgreSQL ↵Sytse Sijbrandij
tweaks to gitlab.rb.
2014-12-02Add command to limit Postgres memory allocation, thanks Jacob.Sytse Sijbrandij
2014-12-02Move build to first step and add interactive commands.Sytse Sijbrandij
2014-12-02Postgres log location is a directory.Sytse Sijbrandij
2014-12-02Add interactive commands.Sytse Sijbrandij
2014-12-02Change vim command.Sytse Sijbrandij
2014-12-02Remove vim since it is of no use to running GitLab.Sytse Sijbrandij
2014-12-02Add troubleshooting section to the docker documentation.Sytse Sijbrandij
2014-12-01Change gitlab to gitlab_image on data run and add tail, thanks Vincent Robert.Sytse Sijbrandij
2014-11-28Make the docker commands so that people can build their own images.Sytse Sijbrandij
2014-11-28Make docker image file user agnostic, to prevent confusion over official images.Sytse Sijbrandij
2014-11-27Add Dockerfile to build an Omnibus GitLab imageVincent Robert