195 Commits

Author SHA1 Message Date
Sameer Naik
5e2d8014be launch a redis container if we can connect to the host docker
When the redis connection parameters are not specified, the image
will try to spin up a redis container if it is able to communicate with
the host docker.

This is only possible if the following two options are specified in the
docker run command:
  `-v /var/run/docker.sock:/run/docker.sock`
  `-v $(which docker):/bin/docker`

This is primarily added to get the quick start guide to work without
much of a hassel.
2014-09-20 14:43:14 +05:30
Sameer Naik
35277f3003 removed internal redis server 2014-09-20 12:50:41 +05:30
Sameer Naik
71d8237156 shutdown the container gracefully, closes #149 2014-09-20 11:39:51 +05:30
Sameer Naik
68c48858a3 manually start cron 2014-09-20 11:26:51 +05:30
Sameer Naik
daa01f9de1 moved startup of openssh-server to appStart function 2014-09-20 11:26:33 +05:30
Sameer Naik
526d7e9da0 set the locale to C.UTF-8 using update-locale tool 2014-09-20 10:47:27 +05:30
Sameer Naik
3de8a0bb2e upgrade to gitlab-ce 7.2.2 2014-09-19 17:22:02 +05:30
Sameer Naik
290d45e7d7 renamed HSTS_ENABLED to GITLAB_HTTPS_HSTS_ENABLED 2014-09-19 16:10:25 +05:30
Sameer Naik
4b3a9e8cdd renamed HSTS_MAX_AGE to GITLAB_HTTPS_HSTS_MAXAGE 2014-09-19 16:08:57 +05:30
Sameer Naik
ce739d93d5 fix typo 2014-09-19 16:07:01 +05:30
Sameer Naik
979632d08a added HSTS_ENABLED configuration option 2014-09-19 15:53:40 +05:30
Sameer Naik
83acf79402 added HSTS_MAX_AGE configuration option 2014-09-19 15:45:26 +05:30
Sameer Naik
531debe0b4 specify daemon off option using -g cli flag 2014-09-19 14:57:39 +05:30
Sameer Naik
a24d66dce7 upgrade to gitlab-shell 1.9.8 2014-09-19 09:29:56 +05:30
Thomas Steinbach
068139e743 introduced the variable GITLAB_BACKUP_DIR with whom users can determine the containers backup location. this adresses an issue of docker, where docker gets in trouble with mounting subdirectorys of already mounted directorys. thus the backup directory could be set to a location outside the GITLAB_DATA_DIR.
removed braces from within the variable expansion of GIT_BACKUP_DIR

Update README.md

Added documentation for the new GITLAB_BACKUP_DIR variable.
2014-09-18 14:07:20 +02:00
Sameer Naik
a03cc79671 use package ruby-dev 2014-09-18 13:02:41 +05:30
Sameer Naik
279e7bdc97 moved dev package installation to install script
the dev packages are purged at the end of the gem installation as these
packages are not required anymore.
2014-09-18 11:46:20 +05:30
Sameer Naik
3e4d5c7fcb switch to sameersbn/debian:jessie.20140918 baseimage 2014-09-18 11:46:05 +05:30
Gary Or
8ccf4132af add option to configure the gitlab ssh host 2014-09-11 15:15:30 +08:00
Aidan Rowe
c36243e7d6 add option to disable the ability for users to change their username 2014-09-09 17:18:03 +10:00
Sameer Naik
212994dc5f moved UseDNS sshd configuration to install script 2014-08-30 13:17:54 +05:30
Sameer Naik
b90bad454d cleanup init script 2014-08-30 13:14:42 +05:30
Sameer Naik
98e5dabaf6 renamed nginx template gitlab.https.strict to gitlab-ssl 2014-08-30 13:04:37 +05:30
Sameer Naik
2dc5a61598 removed the gitlab.https.permission configuration template 2014-08-30 13:04:37 +05:30
Sameer Naik
0825f75e44 removed hack to disable secure sessions store when using a load balancer with ssl.
since commit 0c09fc846b29e2d07c5fcce6d551c631d63ab710 the hack to allow login over plain http when ssl is enabled is no longer required since the "proxy_set_header X-Forwarded-Proto" configuration is set to https.
2014-08-30 13:04:37 +05:30
Sameer Naik
96c964ed0d added NGINX_X_FORWARDED_PROTO configuration option 2014-08-30 13:04:37 +05:30
Sameer Naik
bab3ab1a7b removed the hack to make git over ssh
since commit 4966ffd2045a8405cd06365f6a2b24bbfc570958 the hack to make git over ssh work when the default http/https ports are not used is not required.
2014-08-30 13:04:35 +05:30
Sameer Naik
ba648a012b fix logic for copying user configurations 2014-08-29 23:07:04 +05:30
Sameer Naik
bf0b49e7f3 gitlab-shell: talk directly to unicorn worker, instead of going through nginx 2014-08-29 23:07:03 +05:30
Sameer Naik
9123824073 install the gitlab vhost to /etc/nginx/sites-enabled/ 2014-08-29 12:39:59 +05:30
Sameer Naik
7e30b2e09b upgrade to gitlab-ce 7.2.1 2014-08-29 00:00:44 +05:30
Sameer Naik
0240531d7b added new SMTP_ENABLED configuration option. 2014-08-27 00:44:21 +05:30
Sameer Naik
f589fdac3c group nginx vhost config and relative root config codeblocks together 2014-08-26 01:17:51 +05:30
Sameer Naik
3d96888bd1 clean up GITLAB_RELATIVE_URL_ROOT code 2014-08-26 01:14:04 +05:30
Sameer Naik
bc430492c6 fix nginx static route handling when GITLAB_RELATIVE_URL_ROOT is used.
nginx was not configured correctly to handle static routes due to
which user uploaded files (in issues/wiki/avatar) were not being
displayed.

This issue was particularly visible when gitlab was configured to
use a relative url root.

This commit fixes the issue.
2014-08-26 00:41:10 +05:30
Sameer Naik
421018d563 fix relative root access without the trailing '/' character
if GITLAB_RELATIVE_URL_ROOT was configured (e.g. /gitlab), the application
was not accessible at http://git.local.host/gitlab. The trailing '/'
character was required.

This commit fixes the issue.
2014-08-26 00:25:41 +05:30
Sameer Naik
b8778c18d6 fix regression in sshd config introduced in efb421e7578b52fb970d3e6c7785a4e6dcad2342 2014-08-25 21:03:48 +05:30
Sameer Naik
0f5f17275c added seperate server block for http config in gitlab.https.permissive. Fixes #127 2014-08-25 20:47:40 +05:30
Sameer Naik
efb421e757 defined macros for path variables 2014-08-25 19:53:27 +05:30
Devin Smith
d29f49c28c updated README.md, using OAUTH_GOOGLE_RESTRICT_DOMAIN instead of OAUTH_GOOGLE_HD 2014-08-23 12:02:54 -05:00
Devin Smith
dda73fc1e3 added google oauth hd config to allow for restricted domain. (see https://github.com/gitlabhq/gitlabhq/issues/1635) 2014-08-23 11:25:34 -05:00
Sameer Naik
1d3e2281dc upgrade to gitlab-ce 7.2.0 2014-08-22 17:57:27 +05:30
Sameer Naik
1697f8d333 use spaces for indentation 2014-08-19 19:12:15 +05:30
Sameer Naik
7ff2c1f5ff disable UsePrivilegeSeparation in sshd configuration, fixes #122 2014-08-16 15:55:56 +05:30
Sameer Naik
730a02671a added OAUTH_BLOCK_AUTO_CREATED_USERS configuration option 2014-08-15 13:13:00 +05:30
Sameer Naik
e548a86e12 added OAUTH_ALLOW_SSO configuration option 2014-08-15 13:11:26 +05:30
Sameer Naik
d6d7ee82e0 added github oauth configuration support 2014-08-15 13:05:56 +05:30
Sameer Naik
61fbd092cd added twitter oauth configuration support 2014-08-15 13:01:52 +05:30
Sameer Naik
650294687e added support for google apps oauth, refer #111 2014-08-15 12:54:53 +05:30
Sameer Naik
b98abd5c19 added support for jira issue tracker 2014-08-15 00:18:54 +05:30