No description
Guillaume "B.B." Van Hemmen
ade85f668a
Changed the healthcheck command to use a shell script wrapping `pg_isready` to ensure correct execution of the command with environment variables. This adjustment improves reliability and consistency in the database readiness check. |
||
---|---|---|
plugins | ||
.env.dist | ||
.gitignore | ||
docker-compose.yml | ||
LICENCE | ||
README.md |
SonarQube
Introduction
This project provides a Docker Compose setup for quickly setting up a SonarQube instance. SonarQube is an open-source platform for continuous inspection of code quality to perform automatic reviews with static analysis of code to detect bugs, code smells, and security vulnerabilities.
Table of contents
Prerequisites
- Docker: Make sure Docker is installed and running on your system.
- Docker Compose: You also need Docker Compose to orchestrate the container setup.
- To have deployed Traefik standalone or Traefik Authelia
Installation
-
Clone the repository:
git clone https://git.van-hemmen.com/GuillaumeHemmen-DockerCompose-Infra/sonarqube.git cd sonarqube
-
Copy the environment variable template:
cp .env.dist .env
-
Customize the
.env
file as necessary for your environment.
Usage
Start the Traefik service with Docker Compose:
```bash
docker compose up -d
```
Access SonarQube by navigating to https://<SONAR_FQDN>
in your web browser.
License
This project is licensed under the terms of the MIT license. See the LICENSE file for details.