From 6dd2fbe4ae4c5832d168730b68d2d1de3a3c9292 Mon Sep 17 00:00:00 2001 From: laur Date: Fri, 9 Dec 2022 22:21:30 +0000 Subject: [PATCH] chore: First commit --- README.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/README.md b/README.md index e69de29..75cae01 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,30 @@ +version: "3" +services: + SonarQube: + image: SonarQube:community + depends_on: + - db + environment: + SONAR_JDBC_URL: jdbc:postgresql://db:5432/sonar + SONAR_JDBC_USERNAME: sonartest + SONAR_JDBC_PASSWORD: sonartest + volumes: + - SonarQube_data:/opt/SonarQube/data + - SonarQube_extensions:/opt/SonarQube/extensions + - SonarQube_logs:/opt/SonarQube/logs + ports: + - "9000:9000" + db: + image: postgres:12 + environment: + POSTGRES_USER: sonartest + POSTGRES_PASSWORD: sonartesrt + volumes: + - postgresql:/var/lib/postgresql + - postgresql_data:/var/lib/postgresql/data +volumes: + SonarQube_data: + SonarQube_extensions: + SonarQube_logs: + postgresql: + postgresql_data: \ No newline at end of file