File tree Expand file tree Collapse file tree 2 files changed +17
-5
lines changed Expand file tree Collapse file tree 2 files changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111
1212- Add support for SonarQube up to 10.5
1313
14+ ### Changed
15+
16+ - Update Docker Compose configuration file to V2
17+
1418## [ 1.5.0] - 2024-03-13
1519
1620### Added
Original file line number Diff line number Diff line change 1- version : " 3.3"
1+ ---
2+ name : sonarqube_ecocode_javascript
3+
24services :
35 sonar :
46 image : sonarqube:10-community
5- container_name : sonar_ecocode
7+ container_name : sonar_ecocode_javascript
68 ports :
79 - " 9000:9000"
810 networks :
911 - sonarnet
1012 depends_on :
11- - db
13+ db :
14+ condition : service_healthy
1215 environment :
1316 SONAR_JDBC_USERNAME : sonar
1417 SONAR_JDBC_PASSWORD : sonar
1518 SONAR_JDBC_URL : jdbc:postgresql://db:5432/sonarqube
16- SONAR_ES_BOOTSTRAP_CHECKS_DISABLE : ' true'
19+ SONAR_ES_BOOTSTRAP_CHECKS_DISABLE : " true"
1720 volumes :
1821 - type : bind
1922 source : ./sonar-plugin/target/ecocode-javascript-plugin-1.5.1-SNAPSHOT.jar
@@ -24,7 +27,7 @@ services:
2427
2528 db :
2629 image : postgres:12
27- container_name : postgresql_ecocode
30+ container_name : postgresql_ecocode_javascript
2831 networks :
2932 - sonarnet
3033 volumes :
@@ -34,6 +37,11 @@ services:
3437 POSTGRES_PASSWORD : sonar
3538 POSTGRES_DB : sonarqube
3639 PGDATA : pg_data:/var/lib/postgresql/data/pgdata
40+ healthcheck :
41+ test : [ "CMD-SHELL", "pg_isready -U sonar -d sonarqube" ]
42+ interval : 5s
43+ timeout : 5s
44+ retries : 5
3745
3846networks :
3947 sonarnet :
You can’t perform that action at this time.
0 commit comments