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
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
Sameer Naik
db3d4f7d86
added support for redmine issue tracker
2014-08-15 00:17:25 +05:30
John Jelinek IV
ad0b358d10
Fix #123 Set UseDNS to No in sshd_config
2014-08-13 23:12:46 -05:00
Sameer Naik
859ec18fe5
run gitlab init script as git user Closes #103 #74
...
When the /etc/init.d/gitlab script tries to switch the user to the `git` user, selinux steps in and blocks it. To avoid this we simple run the script as the `git` user using the `sudo -u git -H` command prefix.
In short the image should work with selinux enabled.
2014-07-26 13:24:22 +05:30
Sameer Naik
a7e578d693
added sanity checks for uploads directory
2014-07-22 20:29:33 +05:30
Sameer Naik
ef0a3392ca
create of tmp/cache and tmp/public directories during migration
2014-07-22 20:20:01 +05:30
Sameer Naik
ce67d859fd
added sanity checks for tmp directory
2014-07-22 20:18:12 +05:30
Sameer Naik
af6577c93f
removed GITLAB_SUPPORT configuration option
2014-07-22 20:17:34 +05:30
Sameer Naik
545f8bcf53
set default email address to example@example.com
2014-07-22 20:16:11 +05:30
Sameer Naik
b55017c5db
chmod /home/git/data directory. ref #34
2014-07-17 21:23:54 +05:30
Sameer Naik
ba155d4c47
do not assign a password for root since we do not allow root access
...
anymore
2014-07-01 22:50:53 +05:30
Sameer Naik
0ad14b8dd4
the 's' flag on files/directories apparently can only be changed by the owner (git), fixes #72
2014-06-19 11:41:16 +05:30