chore: First commit
This commit is contained in:
parent
aeec91d0aa
commit
6dd2fbe4ae
30
README.md
30
README.md
@ -0,0 +1,30 @@
|
||||
version: "3"
|
||||
services:
|
||||
SonarQube:
|
||||
image: SonarQube:community
|
||||
depends_on:
|
||||
- db
|
||||
environment:
|
||||
SONAR_JDBC_URL: jdbc:postgresql://db:5432/sonar
|
||||
SONAR_JDBC_USERNAME: sonartest
|
||||
SONAR_JDBC_PASSWORD: sonartest
|
||||
volumes:
|
||||
- SonarQube_data:/opt/SonarQube/data
|
||||
- SonarQube_extensions:/opt/SonarQube/extensions
|
||||
- SonarQube_logs:/opt/SonarQube/logs
|
||||
ports:
|
||||
- "9000:9000"
|
||||
db:
|
||||
image: postgres:12
|
||||
environment:
|
||||
POSTGRES_USER: sonartest
|
||||
POSTGRES_PASSWORD: sonartesrt
|
||||
volumes:
|
||||
- postgresql:/var/lib/postgresql
|
||||
- postgresql_data:/var/lib/postgresql/data
|
||||
volumes:
|
||||
SonarQube_data:
|
||||
SonarQube_extensions:
|
||||
SonarQube_logs:
|
||||
postgresql:
|
||||
postgresql_data:
|
Loading…
Reference in New Issue
Block a user