mirror of
https://github.com/Balshgit/sonar-scanner.git
synced 2025-09-11 22:10:41 +03:00
remove sonar init file and change code destination
This commit is contained in:
parent
c5eca7f43d
commit
73b4855f16
@ -6,7 +6,6 @@ volumes:
|
|||||||
sonarqube_logs:
|
sonarqube_logs:
|
||||||
pg_db:
|
pg_db:
|
||||||
pg_data:
|
pg_data:
|
||||||
elastic:
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
sonarnet:
|
sonarnet:
|
||||||
@ -65,4 +64,4 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- sonarnet
|
- sonarnet
|
||||||
volumes:
|
volumes:
|
||||||
- ./:/usr/src
|
- ./code:/usr/src
|
||||||
|
@ -14,7 +14,7 @@ sonar.projectName=My project
|
|||||||
sonar.projectVersion=1.0
|
sonar.projectVersion=1.0
|
||||||
|
|
||||||
# Path is relative to the sonar-project.properties file. Defaults to .
|
# Path is relative to the sonar-project.properties file. Defaults to .
|
||||||
sonar.sources=./code
|
sonar.sources=.
|
||||||
|
|
||||||
# Encoding of the source code. Default is default system encoding
|
# Encoding of the source code. Default is default system encoding
|
||||||
sonar.sourceEncoding=UTF-8
|
sonar.sourceEncoding=UTF-8
|
||||||
|
@ -1,8 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
# per https://hub.docker.com/_/sonarqube
|
|
||||||
# to be executed before launching the app
|
|
||||||
|
|
||||||
sysctl -w vm.max_map_count=262144
|
|
||||||
sysctl -w fs.file-max=65536
|
|
||||||
ulimit -n 65536
|
|
||||||
ulimit -u 4096
|
|
Loading…
x
Reference in New Issue
Block a user