Coder Social home page Coder Social logo

rpi-sonarqube's Introduction

Sonarqube

docker_logodocker_sonar_logodocker_paperinik_logo

This Docker container implements a Sonarqube Server.

  • Raspbian base image.

Installation from Docker registry hub.

You can download the image with the following command:

## Build with Lastest Version.
docker build --build-arg SONAR_VERSION=8.9.0.43852 -t ghazanfar9131/rpi-sonarqube .

How to use this image

Exposed ports and volumes

The image exposes port 9000. Also, exports two volumes: /sonarqube-5.6.6/extensions and /sonarqube-5.6.6/logs/, used to store all the plugins and the other is used to store the sonarqube logs.

Use cases

Environment variables

  1. This image uses environment variables to allow the configuration of some parameteres at run time:
  • Variable name: DB_USER
  • Default value: sonar
  • Accepted values: a valid user created in the database.
  • Description: database user.

  • Variable name: DB_PASS
  • Default value: xaexohquaetiesoo
  • Accepted values: a valid password for the user created in the database.
  • Description: database password.

  • Variable name: DB_NAME
  • Default value: sonar
  • Accepted values: database name where the container must connect.
  • Description: database name.

  • Variable name: DB_TYPE
  • Default value: MYSQL
  • Accepted values: database type. MYSQL, POSTGRES, MSSQL
  • Description: database types: mysql, postgres or microsoft sql server

  • Variable name: LANGUAGE_VERSION
  • Default value: 1.1
  • Description: version of portuguese language plugin.

  1. If you'd like to run the container, you must download the plugins to a folder and pass the folder path to the container as below:
docker run -d --name sonarqube \
           -e DB_USER=sonar \
           -e DB_PASS=xaexohquaetiesoo \
           -e DB_NAME=sonar --link postgresql:db \
           -e DB_TYPE=POSTGRES \
           -p 9408:9000 \
           -v /media/usbraid/docker/sonar-scanner/plugins:/sonarqube-5.6.6/extensions/plugins \
           paperinik/rpi-sonarqube:latest

Plugins:

rpi-sonarqube's People

Contributors

brunocantisano avatar gajjucoderboi avatar

Watchers

James Cloos 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.