194 Commits

Author SHA1 Message Date
Sameer Naik
818df74e1c Merge pull request #236 from chrta/add_mantis_bugtracker
Add support for mantis issue tracker
2015-01-13 10:24:42 +05:30
Michael Merickel
16104fb6e8 support linking with official postgres image 2015-01-09 17:15:31 -06:00
Christian Taedcke
bb6f264e01 added support for mantis issue tracker 2015-01-06 10:53:09 +01:00
Sameer Naik
9782b573e8 init: added GOOGLE_ANALYTICS_ID configuration option
Closes #230
2015-01-05 11:31:20 +05:30
Sameer Naik
a951b94043 init: added GITLAB_BACKUP_TIME configuration option
Refer #77
2014-12-24 20:48:13 +05:30
Sameer Naik
1d152b52c3 Disable IPv6 for SSL as well 2014-12-23 19:23:22 +05:30
Ahmet Demir
7cfaee3ec5 Disable IPv6 support for Nginx
On some servers, IPv6 is not available, so Nginx can't listen on  [::]:80 

	2014/12/19 07:18:32 [emerg] 484#0: socket() [::]:80 failed (97: Address family not supported by protocol)

I removed the line and the container start successfully.
2014-12-23 14:31:30 +01:00
Ziirish
1b89fe4b8e fix: PIWIK_URL sed delimiter 2014-12-15 16:38:13 +01:00
Ziirish
2426d07958 add: Piwik support 2014-12-15 16:30:13 +01:00
Sameer Naik
823b1464e1 init: do not run gitlab:satellites:create rake task at startup 2014-12-04 20:01:06 +05:30
Sameer Naik
283bba3d2d rake: accept BACKUP parameter while running the restore rake task, closes #220 2014-12-03 22:38:53 +05:30
Max Nordlund
42636a5e6e Change db wait message into a progress bar
This decreases the noise from, potentially 60, "Waiting for database server to accept connections..." messages. These are replaced by a mere ".", but written on the same line, forming a basic progress bar.
2014-11-23 21:51:37 +01:00
Sameer Naik
3671d0b5fd init: added GITLAB_EMAIL_ENABLED configuration option 2014-11-23 13:41:48 +05:30
Sameer Naik
059f7d1329 init: added GITLAB_TIMEZONE configuration option 2014-11-23 13:40:18 +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
3d13f36245 config: added LDAP_ACTIVE_DIRECTORY configuration option 2014-10-20 21:38:07 +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
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
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
c03ff1f195 init: clean up 2014-10-12 12:04:08 +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
Sameer Naik
686162011c init: execute gitlab:satellites:create rake task before starting gitlab 2014-10-10 23:58:39 +05:30
Aidan Rowe
8686d985b5 add option to disable users creating groups 2014-10-09 14:07:04 +10:00
Sameer Naik
1f47e22f28 init: fix DB_PORT setting for linked mysql containers 2014-10-06 22:43:45 +05:30
Sameer Naik
13f3811e42 launch a postgresql container if we can connect to the host docker
When the database 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-10-01 16:44:13 +05:30
Sameer Naik
c83bcbfb5f removed internal mysql server 2014-10-01 16:44:13 +05:30
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