Skip to content

A ready-to-use Docker Compose setup for running SonarQube Community Edition locally, enabling automated code quality and security analysis. This project includes: Pre-configured SonarQube with PostgreSQL for reliable data storage Persistent volumes to maintain data between container restarts Easy setup with a single command (docker-compose up -d

Notifications You must be signed in to change notification settings

LesterCerioli/sonnar-quebe-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

SonarQube Docker Compose Setup

SonarQube Logo

A ready-to-use Docker Compose configuration to run SonarQube locally for code quality analysis.

Features

  • SonarQube Community Edition (latest)
  • PostgreSQL database (recommended for production-grade setup)
  • Persistent data storage using Docker volumes
  • Easy setup with single command

Prerequisites

  • Docker Engine 20.10+
  • Docker Compose 2.0+
  • 4GB+ RAM available (SonarQube requires at least 3GB)
  • 2 CPU cores minimum

Quick Start

  1. Clone this repository:

    git clone https://github.com/LesterCerioli/sonarqube-docker.git
    cd sonarqube-docker
  2. Start the containers:

    docker-compose up -d
  3. Access SonarQube at:

    http://localhost:9000
    ```bash
    
    

Configuration

Environment Variables Edit the .env file to customize:

   SONARQUBE_VERSION=9.9.4-community
  POSTGRES_VERSION=13
  SONARQUBE_PORT=9000

About

A ready-to-use Docker Compose setup for running SonarQube Community Edition locally, enabling automated code quality and security analysis. This project includes: Pre-configured SonarQube with PostgreSQL for reliable data storage Persistent volumes to maintain data between container restarts Easy setup with a single command (docker-compose up -d

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published