Dockerfile to create SonarQube 4.4 server with existing MySQL server.
2.7K
Dockerfile to create SonarQube 4.4 server with existing MySQL server.
Use the Dockerfile to build an image. Run the container with environment variables, DB_USERNAME, DB_PASSWORD and DB_URL. A database sonar should be created first on the MySQL server.
Example command line to run:
docker run -i -t -e DB_USERNAME=sonar -e DB_PASSWORD=password -e DB_URL=mysqlserver:3306 -p 80:9000 <Image ID>
Then you can access http://localhost to use Sonar.
If you want to run SonarQube on AWS Elastic Beanstalk, you need to specify values of environment variables DB_USERNAME, DB_PASSWORD and DB_URL in Beanstalk console. Refer to here for more details.
It's better that package the Dockerfile and Dockerrun.aws.json in a zip file and use it.
Content type
Image
Digest
sha256:c16d2d69b…
Size
310.1 MB
Last updated
almost 11 years ago
docker pull alexcheng/sonar