update all
This commit is contained in:
3
Sonarqube/LICENSE
Normal file
3
Sonarqube/LICENSE
Normal file
@ -0,0 +1,3 @@
|
||||
Additional permission under GNU GPL version 3 section 7
|
||||
|
||||
If you modify this Program, or any covered work, by linking or combining it with [name of library] (or a modified version of that library), containing parts covered by the terms of [name of library's license], the licensors of this Program grant you additional permission to convey the resulting work. Corresponding Source for a non-source form of such a combination shall include the source code for the parts of [name of library] used as well as that of the covered work.
|
3
Sonarqube/README.md
Normal file
3
Sonarqube/README.md
Normal file
@ -0,0 +1,3 @@
|
||||
# Template
|
||||
|
||||
dépôt Template
|
40
Sonarqube/docker-compose.yml
Normal file
40
Sonarqube/docker-compose.yml
Normal file
@ -0,0 +1,40 @@
|
||||
version: '3.8'
|
||||
services:
|
||||
db:
|
||||
image: postgres
|
||||
environment:
|
||||
POSTGRES_PASSWORD: admin
|
||||
POSTGRES_USER: admin
|
||||
restart: always
|
||||
volumes:
|
||||
- "./postgre/data:/var/lib/postgresql/data"
|
||||
ports:
|
||||
- "5432:5432"
|
||||
sonar:
|
||||
image: sonarqube
|
||||
depends_on:
|
||||
- db
|
||||
environment:
|
||||
SONAR_JDBC_URL: jdbc:postgresql://db:5432/postgres
|
||||
SONAR_JDBC_USERNAME: admin
|
||||
SONAR_JDBC_PASSWORD: admin
|
||||
restart: always
|
||||
volumes:
|
||||
- type: volume
|
||||
source: "sonarqube_data"
|
||||
target: "/opt/sonarqube/data"
|
||||
- type: volume
|
||||
source: "sonarqube_extensions"
|
||||
target: "/opt/sonarqube/extensions"
|
||||
- type: volume
|
||||
source: "sonarqube_logs"
|
||||
target: "/opt/sonarqube/logs"
|
||||
links:
|
||||
- db:db
|
||||
ports:
|
||||
- 9000:9000
|
||||
|
||||
volumes:
|
||||
sonarqube_data:
|
||||
sonarqube_extensions:
|
||||
sonarqube_logs:
|
Reference in New Issue
Block a user