ansible-role-sonarqube/README.md
2022-12-09 22:21:30 +00:00

30 lines
739 B
Markdown

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: