[{"data":1,"prerenderedAt":120},["ShallowReactive",2],{"seo-verification":3,"marketplace-app-ma-en-sonarqube":6,"promo-bar-likely":119},{"google":4,"bing":5},"EycwPY2XMyTkVzas3n1ygeNJFGAH513qrMjfDljzsMQ","",{"key":7,"data":8},"marketplace-app-ma-en-sonarqube",{"slug":9,"slugs":10,"categorySlugs":11,"name":16,"description":17,"phase":18,"unavailableReason":19,"docsUrl":20,"logo":21,"github":22,"tagline":23,"longDescription":24,"features":25,"useCases":32,"steps":42,"faq":58,"specs":74,"requirements":87,"compatibleOs":90,"relatedApps":91,"relatedPosts":112,"category":116},"sonarqube",{"fr":9,"en":9,"ar":9,"es":9},{"fr":12,"en":13,"ar":14,"es":15},"developpement","development","التطوير","desarrollo","SonarQube","Self-hosted code quality and security analysis: bugs, vulnerabilities, duplicated code and a quality gate for every analysis from your CI.",2,"awaiting_qa","https:\u002F\u002Fservorbit.com\u002Fblog\u002Fself-host-sonarqube-vps-code-quality","\u002Fbrand\u002Fapps\u002Fsonarqube.svg","https:\u002F\u002Fgithub.com\u002FSonarSource\u002Fsonarqube","SonarQube on a VPS: analyse your code's quality and security on your own server — bugs, vulnerabilities, quality gate and CI integration.","SonarQube Community Build is SonarSource's open-source static analysis platform (LGPL-3.0 licence). Each analysis started from your CI or your workstation inspects code in about twenty languages — Java, JavaScript and TypeScript, Python, PHP, C#, Go, Kotlin, as well as Terraform and Dockerfile — and reports bugs, vulnerabilities, security hotspots, duplicated code and test coverage.\n\nThe quality gate decides: an analysis that introduces new issues fails, and your pipeline can stop before deployment. Your source code stays on your VPS. The ServOrbit installation replaces the admin account's factory password on first start, requires a login to see anything and publishes the instance over HTTPS.",[26,27,28,29,30,31],"Bugs, vulnerabilities and security hotspots — every issue is explained, with its rule and a fix example.","About twenty languages — Java, JavaScript and TypeScript, Python, PHP, C#, Go, Kotlin, Terraform, Dockerfile and more.","Quality gate — an analysis that degrades new code fails, and your pipeline can stop before deployment.","CI integration — an analysis token and the official scanner are all you need for GitHub Actions, GitLab CI or Jenkins.","Duplicated code and test coverage — your tests' coverage reports are read and tracked over time.","Your code stays with you — the analysis and its results are stored on your VPS, in PostgreSQL.",[33,36,39],{"title":34,"body":35},"Block a deployment on fragile code","The pipeline runs the analysis after the tests; if the quality gate fails, the release waits for the fix.",{"title":37,"body":38},"Track a client project's technical debt","An agency keeps one dashboard per project: open issues, duplicated code and coverage, and how they change from one version to the next.",{"title":40,"body":41},"Train a team in good practices","Every issue links to a documented rule with an example: junior developers learn by fixing their own code.",[43,46,49,52,55],{"title":44,"body":45},"Create the VPS and choose the address","Order an Ubuntu 24.04 VPS with at least 4 GB of RAM and 2 vCPUs. SonarQube requires a domain: your pipelines send their analyses to it over HTTPS, and the instance writes that address into its links. It opens on a subdomain of one of your domains, or on the VPS's free subdomain (sonarqube.{dns_slug}.servorbit-dns.com), HTTPS included. No need to buy a domain name.",{"title":47,"body":48},"Install SonarQube from the Marketplace","In your client area, select SonarQube, choose the address and click Install. The script deploys the official image with PostgreSQL, replaces the admin account's factory password with a generated one, declares the instance's public address and configures the nginx reverse proxy over HTTPS. The first start takes two to five minutes.",{"title":50,"body":51},"Log in for the first time","Open https:\u002F\u002Fyour-domain and log in with the user admin and the password shown in your client area. The factory password admin\u002Fadmin no longer works. Then create your team's accounts under Administration, Security, Users.",{"title":53,"body":54},"Create an analysis token","From your account, menu My Account, Security, generate a token of type Global Analysis Token. Store it in your CI secrets as SONAR_TOKEN, with the instance address as SONAR_HOST_URL.",{"title":56,"body":57},"Run a first analysis","From the root of a project, run the official scanner:\n```bash\ndocker run --rm -e SONAR_HOST_URL=https:\u002F\u002Fyour-domain -e SONAR_TOKEN=\u003Ctoken> \\\n  -v \"$PWD:\u002Fusr\u002Fsrc\" sonarsource\u002Fsonar-scanner-cli -Dsonar.projectKey=my-project\n```\nThe project appears in SonarQube with its issues and the quality gate verdict.",[59,62,65,68,71],{"q":60,"a":61},"How is it different from SonarQube Cloud?","SonarQube Cloud is the service hosted by SonarSource: your code is sent there. SonarQube Community Build is the open-source edition you host yourself: the code and the results stay on your VPS. It analyses each project's main branch; branch and pull request analysis belong to the commercial editions.",{"q":63,"a":64},"Do I need a domain name for SonarQube?","Yes. Your pipelines send their analyses over HTTPS to a stable address, and SonarQube writes that address into its links and webhooks. No need to buy one: every ServOrbit VPS has a free subdomain (sonarqube.{dns_slug}.servorbit-dns.com) with an HTTPS certificate. You can also pick a subdomain of one of your domains.",{"q":66,"a":67},"How do I log in for the first time?","Open https:\u002F\u002Fyour-domain and log in with the user admin and the password shown in your client area. The installation has already replaced the factory password admin\u002Fadmin: it no longer works on your instance.",{"q":69,"a":70},"Which languages does SonarQube analyse?","About twenty in the Community edition, including Java, JavaScript and TypeScript, Python, PHP, C#, Go, Kotlin, VB.NET, HTML, CSS and XML, as well as Terraform, Kubernetes and Dockerfile. The C and C++ analysers belong to the commercial editions.",{"q":72,"a":73},"What resources should I plan?","At least 4 GB of RAM: SonarQube runs a web server, a compute engine and an Elasticsearch search engine. Keep at least 10% of the disk free, otherwise SonarQube refuses to start. The data to back up is the PostgreSQL database and the sonarqube-extensions volume.",{"ram":75,"cpu":76,"disk":77,"stack":78,"port":83,"license":84,"version":85,"os":86},"4 GB minimum","2 vCPU","30 GB",[79,80,81,82],"Docker","Java","PostgreSQL","Elasticsearch","8122","LGPL-3.0","26.11","Ubuntu 24.04",{"ramMB":88,"vcpu":18,"diskMB":89},4096,30720,[],[92,100,106],{"name":93,"slug":94,"categorySlug":13,"categoryName":95,"categoryColor":96,"logo":97,"tagline":98,"description":99},"Jenkins","jenkins","Development","text-warning bg-warning\u002F10","\u002Fbrand\u002Fapps\u002Fjenkins.svg","Jenkins — your open-source CI\u002FCD server on a VPS: Jenkinsfile pipelines, Git webhooks and over 2,000 plugins, with no per-minute build billing.","Open-source continuous integration and delivery server: Jenkinsfile pipelines, over 2,000 plugins, builds triggered by your Git repositories.",{"name":101,"slug":102,"categorySlug":13,"categoryName":95,"categoryColor":96,"logo":103,"tagline":104,"description":105},"Gitea","gitea","\u002Fbrand\u002Fapps\u002Fgitea.svg","Your own GitHub, self-hosted on a single VPS — repositories, pull requests, CI\u002FCD and a package registry, with no per-seat billing.","Your own GitHub, self-hosted in minutes. Full Git platform with CI\u002FCD (Gitea Actions), package registry and team permissions — without usage-based billing.",{"name":107,"slug":108,"categorySlug":13,"categoryName":95,"categoryColor":96,"logo":109,"tagline":110,"description":111},"OneDev","onedev",null,"Git, CI\u002FCD and Kanban in one container — no per-developer billing, no external service required.","All-in-one Git forge with visual CI\u002FCD, Kanban boards and a package registry — one container, no per-developer billing.",[113,114,115],"self-host-jenkins-vps","heberger-gitea","heberger-onedev-vps",{"key":12,"slug":13,"name":95,"objective":117,"icon":118,"color":96},"Kick off a software project quickly.","dev",true,1795186491810]