Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

update sonarqube template

Iván Salazarf3fe4433ae31
diff --git a/templates/compose/sonarqube.yaml b/templates/compose/sonarqube.yaml
index a0df26411d..f88c7c788a 100644
--- a/templates/compose/sonarqube.yaml
+++ b/templates/compose/sonarqube.yaml
@@ -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