adantop / sonarqube

SonarQube installation with PostgreSQL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sonarqube

SonarQube installation with PostgreSQL. Used all defaults and they can be updated by changing the environment file present in config/local.env

How to run

  1. Set ulimits since sonarqube uses elasticsearch (once)

    sudo su
    sysctl -w vm.max_map_count=262144
    sysctl -w fs.file-max=65536
    ulimit -n 65536
    ulimit -u 4096
  2. Create volumes (once)

    docker volume create sonarqube-pg-data
    docker volume create sonarqube-pgadmin-data
    docker volume create sonarqube-data
    docker volume create sonarqube-extensions
    docker volume create sonarqube-logs
  3. Run with Docker Compose

    cd <project root>
    docker-compose --env-file ./config/local.env up -d
  4. Delete the deployment

    cd <project root>
    docker-compose down

About

SonarQube installation with PostgreSQL


Languages

Language:Shell 100.0%