Merge pull request #2199 from ivangsm/sonarqube-template

update sonarqube template
This commit is contained in:
Andras Bacsai 2024-05-31 13:02:32 +02:00 committed by GitHub
commit 2004a751dd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11,12 +11,18 @@ services:
- SONAR_JDBC_URL=jdbc:postgresql://postgresql:5432/${POSTGRES_DB:-sonar}
- SONAR_JDBC_USERNAME=$SERVICE_USER_POSTGRES
- SONAR_JDBC_PASSWORD=$SERVICE_PASSWORD_POSTGRES
- SONAR_ES_BOOTSTRAP_CHECKS_DISABLE=true
volumes:
- sonarqube-data:/opt/sonarqube
- sonarqube-conf:/opt/sonarqube/conf
- sonarqube-extensions:/opt/sonarqube/extensions
- sonarqube-logs:/opt/sonarqube/logs
- sonarqube-bundled-plugins:/opt/sonarqube/lib/bundled-plugins
healthcheck:
test: ["CMD", "wget", "-q", "--spider", "http://localhost:9000"]
interval: 5s
timeout: 20s
retries: 10
depends_on:
postgresql:
condition: service_healthy