Skip to content

Commit

Permalink
Merge pull request coollabsio#2199 from ivangsm/sonarqube-template
Browse files Browse the repository at this point in the history
update sonarqube template
  • Loading branch information
andrasbacsai authored May 31, 2024
2 parents ace127a + f3fe443 commit 2004a75
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions templates/compose/sonarqube.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2004a75

Please sign in to comment.