File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -54,12 +54,16 @@ services:
5454 platform : linux/amd64
5555 sonarqube :
5656 image : sonarqube:community
57+ environment :
58+ - SONAR_WEB_PORT=9009
5759 volumes :
5860 - sonarqube_data:/opt/sonarqube/data
5961 - sonarqube_extensions:/opt/sonarqube/extensions
6062 - sonarqube_logs:/opt/sonarqube/logs
6163 ports :
62- - " 9000:9000"
64+ - " 9009:9009"
65+ profiles :
66+ - sonarserver
6367 unittests :
6468 build : .
6569 command : python3 -m debugpy --listen 0.0.0.0:6789 --wait-for-client runtests.py
@@ -82,7 +86,7 @@ services:
8286 - coverage
8387 sonardemo :
8488 build : .
85- command : bash -c "sonar-scanner -Dsonar.projectKey=BB2 -Dsonar.sources=. -Dsonar.python.coverage.reportPaths=coverage.xml -Dsonar.host.url=http://sonarqube:9000 -Dsonar.token=sqp_9f1dcd7f83b3b12be28008a6e0a595352a852bec"
89+ command : bash -c "sonar-scanner -Dsonar.projectKey=BB2 -Dsonar.sources=. -Dsonar.python.coverage.reportPaths=coverage.xml -Dsonar.host.url=http://sonarqube:9009 -Dsonar.token=sqp_9f1dcd7f83b3b12be28008a6e0a595352a852bec"
8690 volumes :
8791 - .:/code
8892 profiles :
You can’t perform that action at this time.
0 commit comments