summaryrefslogtreecommitdiff
path: root/docker
Commit message (Collapse)AuthorAgeFilesLines
...
* Upgrade Docker image to GitLab v7.8.3Stan Hu2015-03-101-1/+1
|
* Update Dockerfile for GitLab 7.8.1Robert Schilling2015-03-011-1/+1
|
* Gracefully shutdown services in Docker containerkfei2015-02-244-4/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Bump GitLab for Docker to version 7.8.0shafan2015-02-231-2/+2
|
* Bump GitLab for Docker to version 7.7.2Vincent Robert2015-01-301-1/+1
|
* Bump Gitlab for Docker to 7.7.1Vincent Robert2015-01-291-1/+1
|
* Update the Omnibus package in Dockerfilekfei2015-01-151-1/+1
| | | | | | From 7.5.3 to 7.6.2. Signed-off-by: kfei <kfei@kfei.net>
* Merge pull request #8458 from kfei/docker/reduce-image-sizeDmitriy Zaporozhets2014-12-201-3/+3
|\ | | | | Reduce the size of Docker image
| * Reduce the size of Docker imagekfei2014-12-161-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Update the Omnibus package in Dockerfilekfei2014-12-161-1/+1
|/ | | | | | From 7.5.2 to 7.5.3. Signed-off-by: kfei <kfei@kfei.net>
* Fix typo in the README.md for dockerzertrin2014-12-041-1/+1
| | | The container name has been previously renamed to "gitlab_app".
* Fix spelling error in dockerfile, thanks Vincent for noting it.Sytse Sijbrandij2014-12-041-1/+1
|
* Merge branch 'docker-version-upgrades' into 'master'Sytse Sijbrandij2014-12-041-0/+2
|\ | | | | | | | | | | Docker version upgrades See merge request !251
| * Add some comments about updating the Omnibus package download location for ↵Sytse Sijbrandij2014-12-041-0/+2
| | | | | | | | the docker image.
* | Reword configuration to recommend an interactive command lineVincent Robert2014-12-041-2/+6
| |
* | gitlab-ctl can now be followed with docker logsVincent Robert2014-12-042-2/+2
| |
* | Move to 7.5.2Vincent Robert2014-12-041-1/+1
|/
* Remove docker file maintainer at his request. ↵Sytse Sijbrandij2014-12-031-1/+0
| | | | https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/245#note_647506
* Add password hint.Sytse Sijbrandij2014-12-031-1/+3
|
* Move commands to the readme, rename gitlab to gitlab_app, add PostgreSQL ↵Sytse Sijbrandij2014-12-034-19/+42
| | | | tweaks to gitlab.rb.
* Add command to limit Postgres memory allocation, thanks Jacob.user-agnostic-docker-exampleSytse Sijbrandij2014-12-021-0/+4
|
* Move build to first step and add interactive commands.Sytse Sijbrandij2014-12-021-1/+27
|
* Postgres log location is a directory.Sytse Sijbrandij2014-12-021-2/+2
|
* Add interactive commands.Sytse Sijbrandij2014-12-021-0/+2
|
* Change vim command.Sytse Sijbrandij2014-12-021-1/+1
|
* Remove vim since it is of no use to running GitLab.Sytse Sijbrandij2014-12-021-1/+0
|
* Add troubleshooting section to the docker documentation.Sytse Sijbrandij2014-12-023-5/+32
|
* Change gitlab to gitlab_image on data run and add tail, thanks Vincent Robert.Sytse Sijbrandij2014-12-011-3/+4
|
* Make the docker commands so that people can build their own images.Sytse Sijbrandij2014-11-281-2/+6
|
* Make docker image file user agnostic, to prevent confusion over official images.Sytse Sijbrandij2014-11-281-2/+2
|
* Add Dockerfile to build an Omnibus GitLab imageVincent Robert2014-11-273-0/+109