Sameer Naik
eacd5c2c4e
README: fix command for generation of the private key
2014-04-29 10:02:08 +05:30
Sameer Naik
1df4ce964f
README: fix link to certificate generation section in TOC
2014-04-29 10:00:30 +05:30
Sameer Naik
b8e8f2f6ef
removed the kickstart wget request
...
the application should already be kickstarted when gitlab:check rake
task is executed.
2014-04-29 00:53:06 +05:30
Sameer Naik
f5f7e7786a
ssl: check if required files exist before enabling https support
2014-04-29 00:49:31 +05:30
Sameer Naik
e69a39af1e
README: fix typos
2014-04-28 23:57:24 +05:30
Sameer Naik
4e97f78641
README: document SSL support
2014-04-28 23:42:29 +05:30
Sameer Naik
c1f501c0de
added SSL_DHPARAM_PATH configuration option to specify path of dhparam.pem file.
2014-04-28 23:41:05 +05:30
Sameer Naik
9089589402
README: update reference links
2014-04-28 20:55:29 +05:30
Sameer Naik
aa709bb49d
configure ssl session cache
2014-04-28 20:55:29 +05:30
Sameer Naik
dfb5dd1d20
added SSL_CERTIFICATE_PATH configuration option to specify path of ssl certificate
2014-04-28 20:55:29 +05:30
Sameer Naik
e989294db8
renamed config option GITLAB_SSL_SELF_SIGNED to SSL_SELF_SIGNED
2014-04-28 20:55:29 +05:30
Sameer Naik
552d4ade03
gitlab-shell: use default gitlab_url talk to gitlab-ce api when signed ssl certificates are used
2014-04-28 20:55:29 +05:30
Sameer Naik
4b1769a162
gitlab-shell: use http over localhost to talk to gitlab-ce api whenever possible
2014-04-28 20:55:29 +05:30
Sameer Naik
11729891b9
added GITLAB_HTTPS_ONLY configuration option
2014-04-28 20:55:29 +05:30
Sameer Naik
63135215fc
added gitlab.https.permissive nginx template that will be used when you want to allow both http and https access
2014-04-28 20:55:29 +05:30
Sameer Naik
6b3623fb5d
renamed gitlab.https to gitlab.https.strict
2014-04-28 20:55:29 +05:30
Sameer Naik
e6d66d608c
export port 443
2014-04-28 20:55:29 +05:30
Sameer Naik
bfd9929109
redirect to the correct port during a http to https redirection
...
Fixes http to https redirection when the default https port is not used
got the GITLAB_PORT
For example running the container like so:
```bash
docker run -i -t --rm \
-p 4443:443 -p 8080:80 -e "GITLAB_HTTPS=true" -e "GITLAB_PORT=4443" \
sameersbn/gitlab:latest
```
Will make sure you are redirected to https://localhost:4443 when you
access the application at http://localhost:8080
2014-04-28 20:55:29 +05:30
Sameer Naik
ca08c72e19
perform http to https redirection with same hostname as the request
2014-04-28 20:55:29 +05:30
Sameer Naik
c0f3f298c3
nginx: use the gitlab.https config if https is enabled
2014-04-28 20:55:29 +05:30
Sameer Naik
d389bf1ef3
added gitlab.https nginx template for ssl support
2014-04-28 20:55:29 +05:30
Sameer Naik
5443eb4583
added GITLAB_SSL_SELF_SIGNED configuration option
2014-04-28 20:55:29 +05:30
Sameer Naik
7d012f8468
README: document GITLAB_HTTPS setting
2014-04-28 20:55:28 +05:30
Sameer Naik
54333b951b
README: added waffle.io badge for testing status
2014-04-28 20:55:04 +05:30
Sameer Naik
4dc1ebde4a
Merge pull request #55 from waffle-iron/master
...
waffle.io Badge
2014-04-28 19:15:18 +05:30
Making GitHub Delicious.
57273d5bf5
add waffle.io badge
2014-04-28 07:44:47 -06:00
Sameer Naik
cd21d296b6
Merge branch 'feature/fix-usage-with-non-standard-ports', fixes #53 , #34
2014-04-26 17:37:28 +05:30
Sameer Naik
c8a62b1c94
fix git over ssh when the default http/https ports are not used.
...
Internally the SSH and the http/https servers always bind to ports 22 and
80/443 respectively. If the GITLAB_PORT variable is set to any other
port, then cloning over SSH would not work.
This is because internally gitlab-shell tries to communicate with the
gitlab server over http interface. In gitlab-shell configured with
the GITLAB_PORT value the conmmunication will effective fail and thereby
the cloning operation would return an error.
To fix this, we make gitlab-shell communicate with the http server
directly with the default http/https ports since this is all internal.
Prior to this update, cloning repositories over ssh protocol would not
work when the container is started in the following way:
```bash
docker run -i -t --rm \
-p 8888:80 -p 2222:22 \
-e "GITLAB_PORT=8888" -e "GITLAB_SHELL_SSH_PORT=2222" \
sameersbn/gitlab
```
2014-04-26 17:37:13 +05:30
Sameer Naik
96d975d9f4
use https protocol in the wget request if https is enabled
2014-04-26 17:36:37 +05:30
Sameer Naik
296a6ad027
construct the gitlab_url based on whether https is enabled and whether the default ports are changed
2014-04-26 17:36:32 +05:30
Sameer Naik
cd87085d5b
set the default GITLAB_PORT to 443 if https is enabled, else set it to 80
2014-04-26 17:36:28 +05:30
Sameer Naik
cef12f872a
cat does not seem to keep the ownership of git user, touch it first
2014-04-24 21:04:20 +05:30
Sameer Naik
dddde324d0
use cat instead of echo in the last commit
2014-04-24 20:57:29 +05:30
Sameer Naik
b2d261b116
compile the assets only if it does not exist or if the gitlab version has changed.
2014-04-24 20:55:22 +05:30
Sameer Naik
05019fd2e0
upgrade gitlab-shell to version 1.9.4
2014-04-24 15:47:27 +05:30
Sameer Naik
b4196eca4f
cache public/assets in local cache at /home/git/data/tmp/
2014-04-24 10:54:42 +05:30
Sameer Naik
8296235575
moved tmp/cache storage to /home/git/data/tmp/
2014-04-24 10:53:59 +05:30
Sameer Naik
2c3656a9f4
Merge branch 'gramakri-nginx_config', closes #49
2014-04-23 22:27:57 +05:30
Girish Ramakrishnan
e34c9649d9
Remove default nginx configuration
...
The 'default' nginx config (part of ubuntu) causes ssh pushes to fail.
This is because gitlab-shell makes http://localhost/api/v3/interal/ * calls
and they get routed to 'default' nginx configuration instead of the @gitlab
named location.
2014-04-23 22:16:54 +05:30
Sameer Naik
1ea9df0311
silence assets compilation output
2014-04-23 21:47:57 +05:30
Sameer Naik
6cf203eb06
do not clear redis cache at startup
2014-04-23 21:46:35 +05:30
Sameer Naik
f0c0d48fc5
cache compiled assets to boost application startup
2014-04-23 21:45:51 +05:30
Sameer Naik
1be9fe79b3
install: make sure /home/git/.ssh does not exist before creating the symlink to /home/git/data/.ssh directory
2014-04-23 21:24:40 +05:30
Sameer Naik
efd0695d3f
install: make sure tmp/backups does not exist before creating the symlink to /home/git/data/backups directory
2014-04-23 21:24:23 +05:30
Sameer Naik
4493a1a0b4
fix symlink to /home/git/data/uploads directory
v6.8.1
2014-04-23 21:24:02 +05:30
Sameer Naik
267fff47e4
upgrade to gitlab-ce version 6.8.1
2014-04-23 19:00:04 +05:30
Sameer Naik
5ee46a8338
fix permissions on repositories directory
2014-04-23 15:55:54 +05:30
Sameer Naik
70a85b99a7
fix permissions on gitlab-satellites directory
2014-04-23 15:15:24 +05:30
Sameer Naik
9c03af2e06
Merge pull request #48 from gramakri/doc_change
...
Use --name instead of -name
2014-04-23 10:04:28 +05:30
Girish Ramakrishnan
677c27799f
Use --name instead of -name
2014-04-22 21:00:36 -07:00