Giter VIP home page Giter VIP logo

docker-sonarqube's Introduction

orangesignal/sonar

SonarQube small docker images

Supported tags

For more information about this image and its history, please see the orangesignal/docker-sonarqube GitHub repo.

What is SonarQube?

SonarQube software (previously called Sonar) is an open source quality management platform, dedicated to continuously analyze and measure technical quality, from project portfolio to method.

wikipedia.org/wiki/SonarQube

logo

Prerequisites

Now you can verify that the installation is ok with the following commands:

docker version
docker-compose --version

How to use

docker run -p 9000:9000 orangesignal/sonar

Run the SonarQube with Docker Compose. Docker Compose uses a docker-compose.yml file that describes the environment.

git clone https://github.com/orangesignal/docker-sonarqube.git
cd docker-sonarqube
docker-compose up

NOTE: Please allow a minute or two for the SonarQube application to start.

On another console run:

make port

Point your browser to the given URL and login using the default username and password:

  • username: admin
  • password: admin

You should now have the SonarQube application up and ready for testing. If you want to use this image in production the please read on.

Environment Variables

The SonarQube image uses several environment variables which are easy to miss. While none of the variables are required, they may significantly aid you in using the image.

SONAR_JDBC_URL

The embedded database is recommended for demos and tests only. It must be replaced by a database like PostgreSQL, MySQL or Oracle in production environment. Read the installation guide to get more details.

Default value is: jdbc:h2:tcp://localhost:9092/sonar

SONAR_JDBC_USERNAME

This optional environment variable is used in conjunction with SONAR_JDBC_PASSWORD to set a user and its password. If it is not specified, then the default user of sonar will be used.

SONAR_JDBC_PASSWORD

This environment variable is recommend for you to use the SonarQube image. The default user is defined by the SONAR_JDBC_USERNAME environment variable.

LICENSE

Apache 2 License

docker-sonarqube's People

Contributors

orangesignal avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.