-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update version, update docker compose (#48)
* update version, update docker compose Signed-off-by: Nicklas Körtge <nicklas.koertge1@ibm.com> * update dependabot conf Signed-off-by: Nicklas Körtge <nicklas.koertge1@ibm.com> --------- Signed-off-by: Nicklas Körtge <nicklas.koertge1@ibm.com>
- Loading branch information
1 parent
16fb864
commit ef6e322
Showing
3 changed files
with
42 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,39 @@ | ||
version: "3" | ||
services: | ||
sonarqube: | ||
image: sonarqube | ||
user: "${UID}:${GID}" | ||
image: sonarqube:10-community | ||
user: "${UID}" | ||
volumes: | ||
- sonar-data:/opt/sonarqube/data | ||
- ./.SonarQube/plugins/:/opt/sonarqube/extensions/plugins/ | ||
- sonar-logs:/opt/sonarqube/logs | ||
- ./.SonarQube/conf/:/opt/sonarqube/conf/ | ||
ports: | ||
- "9000:9000" | ||
depends_on: | ||
db: | ||
condition: service_healthy | ||
environment: | ||
SONAR_JDBC_URL: jdbc:postgresql://db:5432/sonar | ||
SONAR_JDBC_USERNAME: sonar | ||
SONAR_JDBC_PASSWORD: sonar | ||
command: | ||
- "-Dsonar.es.bootstrap.checks.disable=true" | ||
db: | ||
image: postgres:15-alpine | ||
healthcheck: | ||
test: [ "CMD-SHELL", "pg_isready" ] | ||
interval: 10s | ||
timeout: 5s | ||
retries: 5 | ||
environment: | ||
POSTGRES_USER: sonar | ||
POSTGRES_PASSWORD: sonar | ||
POSTGRES_DB: sonar | ||
volumes: | ||
- sonar-postgresql:/var/lib/postgresql | ||
- sonar-postgresql_data:/var/lib/postgresql/data | ||
volumes: | ||
sonar-logs: | ||
sonar-data: | ||
sonar-data: | ||
sonar-postgresql: | ||
sonar-postgresql_data: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters