remove sonar init file and change code destination

This commit is contained in:
Dmitry Afanasyev 2021-12-24 10:38:59 +03:00
parent c5eca7f43d
commit 73b4855f16
3 changed files with 2 additions and 11 deletions

View File

@ -6,7 +6,6 @@ volumes:
sonarqube_logs:
pg_db:
pg_data:
elastic:
networks:
sonarnet:
@ -65,4 +64,4 @@ services:
networks:
- sonarnet
volumes:
- ./:/usr/src
- ./code:/usr/src

View File

@ -14,7 +14,7 @@ sonar.projectName=My project
sonar.projectVersion=1.0
# 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
sonar.sourceEncoding=UTF-8

View File

@ -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