48 Commits

Author SHA1 Message Date
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
Sameer Naik
06504a8bb1 expose SSH(22) and HTTP(80) ports 2014-04-11 21:09:31 +05:30
Sameer Naik
b4bea41c6a start: kickstart the gitlab server 2014-04-11 21:09:31 +05:30
Sameer Naik
b0ed3a473b added a bunch to comments 2014-04-11 21:09:16 +05:30
Sameer Naik
191cb2450d start: added -h|--server-url option to allow specifying the FQDN for the container. 2014-04-11 21:06:46 +05:30
Sameer Naik
f9181ce0fd install: allow ssh root login configured via resources/authorized_keys 2014-04-11 21:06:11 +05:30
Sameer Naik
f1d59614f9 start: wait 3 seconds after starting redis server 2014-04-11 21:06:10 +05:30
Sameer Naik
5ae6ed8464 install: fix git operations 2014-04-11 21:06:05 +05:30
Sameer Naik
cf88600165 start: run the gitlab:check rake task after starting the gitlab service 2014-04-11 21:05:36 +05:30
Sameer Naik
2bdd95b7d2 start: give ownership of /home/git/.ssh to git user 2014-04-11 21:05:36 +05:30
Sameer Naik
751f21e56c start: do not run the gitlab:env:info and gitlab:check rake tasks for faster start up times. 2014-04-11 21:05:36 +05:30
Sameer Naik
76722b81e4 start: fix permissions of /home/git/.ssh in case it is mounted as a volume 2014-04-11 21:05:36 +05:30
Sameer Naik
94ce47776c start: fix permissions of /home/git/repositories/ in case it is mounted as a volume 2014-04-11 21:05:36 +05:30
Sameer Naik
af68ba779b start: start the ssh server 2014-04-11 21:05:36 +05:30
Sameer Naik
526639654e initial creation 2014-04-11 21:05:32 +05:30