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
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
d4ae3c44ad
dockerfile: install ruby2.1 from brightbox/ruby-ng repo
2014-10-08 23:41:07 +05:30
Sameer Naik
1f47e22f28
init: fix DB_PORT setting for linked mysql containers
2014-10-06 22:43:45 +05:30
Sameer Naik
5916058897
gitlab-ce: upgrade to v.7.3.2
2014-10-01 17:57:25 +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