Created
March 27, 2020 19:53
-
-
Save rogervila/685c3f361049421d93d1bac3dd815287 to your computer and use it in GitHub Desktop.
Run SonarQube with Docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
echo -e "\\e[32mWait...\\e[0m" | |
docker run -d -p 9000:9000 --name sonarqube --restart always \ | |
-v sonarqube_conf:/opt/sonarqube/conf \ | |
-v sonarqube_data:/opt/sonarqube/data \ | |
-v sonarqube_logs:/opt/sonarqube/logs \ | |
-v sonarqube_extensions:/opt/sonarqube/extensions \ | |
sonarqube:lts | |
echo -e "\\e[32mDone! SonarQube is running on 0.0.0.0:9000\\e[0m" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment