147 Commits

Author SHA1 Message Date
Sameer Naik
ac2fe9bc37 init: added support for paintedfox/postgresql image 2014-09-27 23:42:58 +05:30
Sameer Naik
3c6dc4f451 init: added support for orchardup/postgresql image 2014-09-27 23:42:46 +05:30
Sameer Naik
9b4c636866 init: use linkage to fetch additional postgresql access parameters 2014-09-27 23:37:53 +05:30
Sameer Naik
70d034642e init: added support for centurylink/mysql and orchardup/mysql images 2014-09-27 23:29:56 +05:30
Sameer Naik
f504a0fd14 init: use linkage to fetch additional mysql access parameters 2014-09-27 23:27:41 +05:30
Sameer Naik
187bf8b800 added GITLAB_GRAVATAR_ENABLED configuration option, closes #159 2014-09-25 19:31:24 +05:30
Aidan Rowe
456254c6a1 fix password flag in mysql related commands 2014-09-25 18:57:14 +10:00
Sameer Naik
643fb3a9fd init: specify the DB_HOST in all mysql commands 2014-09-25 10:55:27 +05:30
Sameer Naik
7fe87e9baf init: wait for database server to come online 2014-09-25 00:42:43 +05:30
Sameer Naik
92769514dc init: do no silence migration errors 2014-09-25 00:42:39 +05:30
Sameer Naik
29a624d8b5 init: automatically run gitlab:setup rake task
Refer #154
2014-09-25 00:42:19 +05:30
Sameer Naik
78078b08a4 init: replace -uroot with -u ${DB_USER} in the mysql commands 2014-09-24 23:19:03 +05:30
Sameer Naik
b6aa5bf526 init: use the -e mysql flag to specify the query 2014-09-24 23:13:58 +05:30
Sameer Naik
91f65059a0 added GITLAB_WEBHOOK_TIMEOUT configuration option 2014-09-22 14:55:39 +05:30
Sameer Naik
6234225693 remove redis-server stop in appStop 2014-09-20 19:37:44 +05:30
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
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
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
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
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
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
1697f8d333 use spaces for indentation 2014-08-19 19:12:15 +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