Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Upgrade Docker image to GitLab v7.8.3 | Stan Hu | 2015-03-10 | 1 | -1/+1 |
| | |||||
* | Update Dockerfile for GitLab 7.8.1 | Robert Schilling | 2015-03-01 | 1 | -1/+1 |
| | |||||
* | Gracefully shutdown services in Docker container | kfei | 2015-02-24 | 4 | -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.0 | shafan | 2015-02-23 | 1 | -2/+2 |
| | |||||
* | Bump GitLab for Docker to version 7.7.2 | Vincent Robert | 2015-01-30 | 1 | -1/+1 |
| | |||||
* | Bump Gitlab for Docker to 7.7.1 | Vincent Robert | 2015-01-29 | 1 | -1/+1 |
| | |||||
* | Update the Omnibus package in Dockerfile | kfei | 2015-01-15 | 1 | -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-size | Dmitriy Zaporozhets | 2014-12-20 | 1 | -3/+3 |
|\ | | | | | Reduce the size of Docker image | ||||
| * | Reduce the size of Docker image | kfei | 2014-12-16 | 1 | -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 Dockerfile | kfei | 2014-12-16 | 1 | -1/+1 |
|/ | | | | | | From 7.5.2 to 7.5.3. Signed-off-by: kfei <kfei@kfei.net> | ||||
* | Fix typo in the README.md for docker | zertrin | 2014-12-04 | 1 | -1/+1 |
| | | | The container name has been previously renamed to "gitlab_app". | ||||
* | Fix spelling error in dockerfile, thanks Vincent for noting it. | Sytse Sijbrandij | 2014-12-04 | 1 | -1/+1 |
| | |||||
* | Merge branch 'docker-version-upgrades' into 'master' | Sytse Sijbrandij | 2014-12-04 | 1 | -0/+2 |
|\ | | | | | | | | | | | Docker version upgrades See merge request !251 | ||||
| * | Add some comments about updating the Omnibus package download location for ↵ | Sytse Sijbrandij | 2014-12-04 | 1 | -0/+2 |
| | | | | | | | | the docker image. | ||||
* | | Reword configuration to recommend an interactive command line | Vincent Robert | 2014-12-04 | 1 | -2/+6 |
| | | |||||
* | | gitlab-ctl can now be followed with docker logs | Vincent Robert | 2014-12-04 | 2 | -2/+2 |
| | | |||||
* | | Move to 7.5.2 | Vincent Robert | 2014-12-04 | 1 | -1/+1 |
|/ | |||||
* | Remove docker file maintainer at his request. ↵ | Sytse Sijbrandij | 2014-12-03 | 1 | -1/+0 |
| | | | | https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/245#note_647506 | ||||
* | Add password hint. | Sytse Sijbrandij | 2014-12-03 | 1 | -1/+3 |
| | |||||
* | Move commands to the readme, rename gitlab to gitlab_app, add PostgreSQL ↵ | Sytse Sijbrandij | 2014-12-03 | 4 | -19/+42 |
| | | | | tweaks to gitlab.rb. | ||||
* | Add command to limit Postgres memory allocation, thanks Jacob.user-agnostic-docker-example | Sytse Sijbrandij | 2014-12-02 | 1 | -0/+4 |
| | |||||
* | Move build to first step and add interactive commands. | Sytse Sijbrandij | 2014-12-02 | 1 | -1/+27 |
| | |||||
* | Postgres log location is a directory. | Sytse Sijbrandij | 2014-12-02 | 1 | -2/+2 |
| | |||||
* | Add interactive commands. | Sytse Sijbrandij | 2014-12-02 | 1 | -0/+2 |
| | |||||
* | Change vim command. | Sytse Sijbrandij | 2014-12-02 | 1 | -1/+1 |
| | |||||
* | Remove vim since it is of no use to running GitLab. | Sytse Sijbrandij | 2014-12-02 | 1 | -1/+0 |
| | |||||
* | Add troubleshooting section to the docker documentation. | Sytse Sijbrandij | 2014-12-02 | 3 | -5/+32 |
| | |||||
* | Change gitlab to gitlab_image on data run and add tail, thanks Vincent Robert. | Sytse Sijbrandij | 2014-12-01 | 1 | -3/+4 |
| | |||||
* | Make the docker commands so that people can build their own images. | Sytse Sijbrandij | 2014-11-28 | 1 | -2/+6 |
| | |||||
* | Make docker image file user agnostic, to prevent confusion over official images. | Sytse Sijbrandij | 2014-11-28 | 1 | -2/+2 |
| | |||||
* | Add Dockerfile to build an Omnibus GitLab image | Vincent Robert | 2014-11-27 | 3 | -0/+109 |