576 Commits

Author SHA1 Message Date
Sameer Naik
fcde52fe7b config: rebase gitlab-shell configs from gitlab-shell 2.2.0 template 2014-11-23 11:21:46 +05:30
Sameer Naik
46382db428 config: rebase gitlab config from gitlab-ce 7.5.1 templates 2014-11-23 11:21:46 +05:30
Sameer Naik
0811f16571 config: rebase nginx configs from gitlab-ce 7.5.1 templates 2014-11-23 11:21:46 +05:30
Sameer Naik
5929751a07 install: remove HSTS config from the default headers, Fixes #206 2014-11-23 11:21:26 +05:30
John-Henry Liberty
6fa2941e92 upgrade to CE v7.5.1 and shell v2.2.0 2014-11-22 13:01:21 -06:00
Sameer Naik
40d0d2cf81 gitlab: upgrade to CE v.7.4.4 2014-11-20 22:11:02 +05:30
Sameer Naik
34f74108c9 expand path variables using GITLAB_HOME script variable 2014-11-20 13:10:36 +05:30
Sameer Naik
d4da37b1f6 added GITLAB_LOG_DIR script variable 2014-11-20 13:09:51 +05:30
Sameer Naik
f7d5f080e2 init: fix find command to correctly ignore the GITLAB_DATA_DIR in uid mapping 2014-11-20 12:16:40 +05:30
Christian Fetzer
9952b2d999 init: uid/gid adaption
To this day, Docker does not support mapping user/group ids from the
host to the container. Hence, all files created on the mounted volumes
are owned by git:git (1000:1000). On the host that uid/gid possibly
belongs to a different user/group.

With this change the container will adapt the uid/gid of git in
/etc/passwd and /etc/group to the environment variables USERMAP_UID and
USERMAP_GID if specified.

In addition all files in /home/git and /var/log/gitlab have to be
adapted to reflect those changes. This can be a time consuming process
which can be improved by committing the container after the first run.

Idea from: http://chapeau.freevariable.com/2014/08/docker-uid.html
2014-11-19 20:59:51 +01:00
Sameer Naik
8b59088793 init: drop the sudo -u git -H from app:sanitize commands 2014-11-20 00:03:46 +05:30
Sameer Naik
2ffb235a4a init: added NGINX_WORKERS configuration option, refer #166 2014-11-19 23:15:05 +05:30
Michael Steinert
ae29c0b5ce init: add a weekly backup option 2014-11-17 10:57:01 -06:00
Sameer Naik
3f5e306354 init: specify database port in mysql and postgresql commands, Fixes #197 2014-11-12 10:54:45 +05:30
Sameer Naik
02d8a78c4e init: add ssl_client_certificate nginx config only if the ca.crt file exists 2014-11-12 09:48:19 +05:30
sunits
81d38c4e4d replace to nginx config 2014-11-10 17:23:15 +09:00
sunits
210d87caec client certificate 2014-11-10 15:03:01 +09:00
Sameer Naik
344516c63b gitlab: upgrade to CE v.7.4.3 2014-10-31 09:36:23 +05:30
Sameer Naik
14b5d17d9d gitlab: upgrade to CE v.7.4.2 2014-10-26 12:01:28 +05:30
Aleksandr Romanov
f8f6ddb54c typo 2014-10-24 00:36:48 +04:00
Sameer Naik
51db93d366 gitlab: upgrade to CE v.7.4.0 2014-10-22 23:21:23 +05:30
Sameer Naik
3d13f36245 config: added LDAP_ACTIVE_DIRECTORY configuration option 2014-10-20 21:38:07 +05:30
Sameer Naik
28df14f7ae gitlab: upgrade to CE v.7.4.0.rc1 2014-10-20 21:35:55 +05:30
Sameer Naik
bd582b0de1 database.yml: added collation setting 2014-10-20 21:28:46 +05:30
Sameer Naik
8aa7524e8b init: cleanup database.yml reconnect option setting 2014-10-20 21:26:16 +05:30
Sameer Naik
e2f93339de install: move nginx logs to /var/log/gitlab/nginx/ 2014-10-20 12:45:13 +05:30
Sameer Naik
f68be75cd9 install: move supervisord.log file to /var/log/redmine/supervisor/ 2014-10-20 12:45:00 +05:30
Sameer Naik
5a4bc463bb Revert "install: do not create the ${GITLAB_DATA_DIR}"
This reverts commit 45edbf3469dd96fd7914a5c10a61a984b77cc2b8.
2014-10-19 11:05:54 +05:30
Sameer Naik
8562893be9 Revert "install: do not create the ${GITLAB_DATA_DIR}/.ssh directory, its created in the init script"
This reverts commit 8aba575f89cde29a03cc3537a7f99799ceaf8b07.
2014-10-19 11:05:28 +05:30
Sameer Naik
45edbf3469 install: do not create the ${GITLAB_DATA_DIR} 2014-10-19 11:01:30 +05:30
Sameer Naik
8aba575f89 install: do not create the ${GITLAB_DATA_DIR}/.ssh directory, its created in the init script 2014-10-19 11:00:30 +05:30
Sameer Naik
0365e9d68f config: whitespace cleanup 2014-10-19 10:42:15 +05:30
Sameer Naik
33f136a71a config: fix smtp_settings.rb template 2014-10-19 10:40:37 +05:30
Sameer Naik
bd861516ae init: added SMTP_OPENSSL_VERIFY_MODE configuration option
Refer #179
2014-10-19 10:32:46 +05:30
Sameer Naik
d461bb6074 install: store supervisor logs at /var/log/gitlab/supervisor/ 2014-10-17 23:59:08 +05:30
Sameer Naik
0cc533790c install: store gitlab vhost access logs at /var/log/gitlab/nginx/ 2014-10-17 23:59:08 +05:30
Sameer Naik
54f1cc0cd3 install: store gitlab-shell logs at /var/log/gitlab/gitlab-shell/ 2014-10-17 23:59:02 +05:30
Sameer Naik
81f033b0cd install: store gitlab application logs at /var/log/gitlab/gitlab/ 2014-10-17 23:32:21 +05:30
Sameer Naik
e14c904d58 readme: fix database server connection error message 2014-10-17 18:42:21 +05:30
Sameer Naik
d856cf2162 install: use GITLAB_INSTALL_DIR macro in supervisor configs 2014-10-14 13:26:36 +05:30
Sameer Naik
1bda0df960 init: automatically compile assets if relative_url is changed
Closes #171
2014-10-14 00:10:32 +05:30
Sameer Naik
2bc666fcc4 init: removed unused sidekiq.yml config template 2014-10-13 22:58:40 +05:30
Sameer Naik
71a3e22a5d init: set default SIDEKIQ_CONCURRENCY to 25 2014-10-13 22:47:23 +05:30
Sameer Naik
173d91a825 init: configure sidekiq concurrency using the -c flag 2014-10-13 22:46:54 +05:30
Sameer Naik
b7a458d3b1 install: switch back to the bash shell for git user 2014-10-13 20:35:28 +05:30
Sameer Naik
c03ff1f195 init: clean up 2014-10-12 12:04:08 +05:30
Sameer Naik
fdd5377903 install: define HOME variable in sidekiq's envivonment 2014-10-11 01:18:18 +05:30
Sameer Naik
6094a7d449 init: autostart all daemons when supervisord is started 2014-10-11 00:31:31 +05:30
Sameer Naik
a28ee3fe35 init: do not execute gitlab:check rake task
In the forthcoming commit all daemons will be auto started using
supervisord and the execution of the init script will end at the launch
of supervisord. This does not allow room for the `gitlab:check` task to
be executed in such a way that its output.

User's will need to login to the container and manually start the
`gitlab:check` task if the wish to check the status.
2014-10-11 00:26:38 +05:30
Sameer Naik
bc05a0e792 init: start unicorn and sidekiq using supervisord 2014-10-11 00:01:36 +05:30