<MY_REPOSITORY> # URL of your GIT repository
<MY_PROJECT_PATH> # Path of your application
git clone [email protected]:dockerguild/sonarqube.git sonarqube
cd sonarqube
rm -fr .git
git init
git remote add origin <MY_REPOSITORY>
Requirement : Nginx
Edit vhost config/nginx/proxy.conf
and register it to nginx
ln -s "${PWD}/config/nginx/proxy.conf" /etc/nginx/sites-enabled/sonarqube.conf
service nginx restart
Edit vhost config/crontab/crontab
and register it to crontab
ln -s "${PWD}/config/crontab/crontab" "/etc/cron.d/sonarqube"
Start containers
make start
Restart containers
make restart
Down containers
make down
Update containers
make update
Before your must configure .make/filesystem
according to your use.
You must also set up an external backup system !
Dump containers files
make filesystem/dump
Restore containers files
make filesystem/restore
For crontab usage
bash /<MY_PROJECT_PATH>/bin/console.sh dump