Forked from batmat/sonarqube-mysql-docker-compose.yml
Created
December 29, 2017 11:37
-
-
Save Ugur22/5a346e4def457bcd3e6e62061c003bad to your computer and use it in GitHub Desktop.
Working SonarQube + Mysql Dead Simple Docker Compose file
This file contains hidden or 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
sonarqube: | |
image: sonarqube:5.1.1 | |
ports: | |
- "9000:9000" | |
- "3306:3306" | |
environment: | |
- SONARQUBE_JDBC_USERNAME=sonar | |
- SONARQUBE_JDBC_PASSWORD=sonar | |
- SONARQUBE_JDBC_URL=jdbc:mysql://localhost:3306/sonar?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true | |
db: | |
image: mysql | |
net: container:sonarqube | |
environment: | |
- MYSQL_ROOT_PASSWORD=sonar | |
- MYSQL_DATABASE=sonar | |
- MYSQL_USER=sonar | |
- MYSQL_PASSWORD=sonar |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment