64 Commits

Author SHA1 Message Date
Sameer Naik
f06f9acdc2 gitlab: gitlab script can now be passed commands to perform specific tasks. Defaults to start. 2014-04-11 21:23:14 +05:30
Sameer Naik
fa20322c0a renamed resources/start to resources/gitlab 2014-04-11 21:21:51 +05:30
Sameer Naik
0d87aa80e4 install: cleanups 2014-04-11 21:20:40 +05:30
Sameer Naik
caae021e9d install: touch log/production.log so that it is owned by user git 2014-04-11 21:20:38 +05:30
Sameer Naik
6d8af31c89 setup log rotation via logrotate 2014-04-11 21:20:02 +05:30
Sameer Naik
325f9d6e18 install vim 2014-04-11 21:19:59 +05:30
Sameer Naik
371704e180 indent the dockerfile for readability 2014-04-11 21:19:27 +05:30
Sameer Naik
60e2b70b52 make sure the docker cache is used for the system update 2014-04-11 21:19:01 +05:30
Matthias Rolke
5cc2a622a7 fix permission of /var/lib/mysql in case it is mounted 2014-04-11 21:19:01 +05:30
Matthias Rolke
3f2589801f update to ruby 2.0, gitlabhq 6.3.0 and gitlab-shell 1.7.9 2014-04-11 21:18:49 +05:30
Sameer Naik
2fdc59c9e1 README: added git clone command to installation section v6.1 2014-04-11 21:13:36 +05:30
Sameer Naik
91973cd31c README: fix references. 2014-04-11 21:13:35 +05:30
Sameer Naik
9b1c100a22 README: fix Quickstart docker command. 2014-04-11 21:13:35 +05:30
Sameer Naik
1cbc33fd75 README: added installation references. 2014-04-11 21:13:35 +05:30
Sameer Naik
f9b52e9a54 start: check DB exists, create db and grant permissions in the same code block 2014-04-11 21:13:35 +05:30
Sameer Naik
c64a1fa7da start: use the DB_ env variables in the MYSQL CREATE and GRANT commands. 2014-04-11 21:13:35 +05:30
Sameer Naik
dd44c2b6cd install: do not delete contents of /var/lib/mysql/
We now use mysql commands to check of the database exists.
2014-04-11 21:13:35 +05:30
Sameer Naik
4263e85730 start: use the mysql password if specified in the mysql server status check. 2014-04-11 21:13:35 +05:30
Sameer Naik
7bc4deb582 start: added an interactive timeout of 120 seconds for mysqld server to start. 2014-04-11 21:13:35 +05:30
Sameer Naik
9127a22868 authoized_keys: removed my public ssh key from authorized keys 2014-04-11 21:13:34 +05:30
Sameer Naik
49e06daedd fix sshd command 2014-04-11 21:13:34 +05:30
Sameer Naik
0ed22d8372 delete mysql database files at build 2014-04-11 21:13:34 +05:30
Sameer Naik
8bf5c8dc2d README: fix markdown 2014-04-11 21:13:34 +05:30
Sameer Naik
6e65c3f3e7 README: update with complete usage instructions. 2014-04-11 21:13:34 +05:30
Sameer Naik
59511f48be start: automatically initialize the local mysql database only if /var/lib/mysql/mysql directory does not exist. 2014-04-11 21:13:34 +05:30
Sameer Naik
129d943189 set redis run directory to /tmp 2014-04-11 21:13:34 +05:30
Sameer Naik
45feb2cf58 fix supervisord config for redis-server 2014-04-11 21:13:33 +05:30
Sameer Naik
d4a173c8bb use cat instead of tee 2014-04-11 21:13:31 +05:30
Sameer Naik
bac26933b8 configure redis for gitlab-shell 2014-04-11 21:13:03 +05:30
Sameer Naik
157f4166a8 start: added SIDEKIQ_CONCURRENCY env variable to configure the concurrency level of sidekiq 2014-04-11 21:13:03 +05:30
Sameer Naik
9330660032 start: added DB_POOL env variable to specify the db connection pool size 2014-04-11 21:13:03 +05:30
Sameer Naik
1633df8d3f start redis-server using supervisord 2014-04-11 21:13:03 +05:30
Sameer Naik
deec44fe44 start mysqld using supervisord 2014-04-11 21:13:02 +05:30
Sameer Naik
1ba0f1f8a2 start nginx using supervisord 2014-04-11 21:13:02 +05:30
Sameer Naik
3e35f576ae start openssh-server using supervisord 2014-04-11 21:13:02 +05:30
Sameer Naik
9cb60619d6 install supervisor daemon. 2014-04-11 21:12:51 +05:30
Sameer Naik
b1c87c5f6c added REDIS_HOST and REDIS_PORT env variables configure the location of the redis server
If not specified, a redis server is spawned locally.
2014-04-11 21:09:34 +05:30
Sameer Naik
caa339825c run the gitlab:satellites:create rake task after starting the gitlab server 2014-04-11 21:09:33 +05:30
Sameer Naik
7ee2f90ca2 update the /home/git/gitlab-satellites/ directory permissions, incase it is mounted as a volume 2014-04-11 21:09:33 +05:30
Sameer Naik
a1bd58f246 added UNICORN_WORKERS env to setup number of unicorn workers 2014-04-11 21:09:33 +05:30
Sameer Naik
7628d269c1 start: added GITLAB_SUPPORT env variable to specify the support email address. 2014-04-11 21:09:33 +05:30
Sameer Naik
044c2dd2ea start: added GITLAB_EMAIL env variable to specify the email address from the git user 2014-04-11 21:09:33 +05:30
Sameer Naik
3629b9ea43 start: removed getopts option parsing from start script. parameters should now be set using env variables. 2014-04-11 21:09:33 +05:30
Sameer Naik
cd7c33876b install: moved nginx configuration to install script 2014-04-11 21:09:33 +05:30
Sameer Naik
95ee3b9360 start: moved git user/email config to start script 2014-04-11 21:09:32 +05:30
Sameer Naik
9eec3f2588 gitlab: added placeholder README.md 2014-04-11 21:09:32 +05:30
Sameer Naik
a33c170e7e start: only configure the server url on the gitlab application, leave gitlab-shell and nginx hostname as localhost 2014-04-11 21:09:32 +05:30
Sameer Naik
22c6bfbc4b start: fix tail command 2014-04-11 21:09:32 +05:30
Sameer Naik
7214a21280 start: do not run chown/chmod on /home/git/repositories/ recursively 2014-04-11 21:09:32 +05:30
Sameer Naik
427d411097 start: changed server url switch from -h -> -a 2014-04-11 21:09:32 +05:30