{"id":19758705,"url":"https://github.com/robbinparrish/sonarqube-deployment","last_synced_at":"2026-05-06T19:04:34.123Z","repository":{"id":222789655,"uuid":"712325045","full_name":"robbinparrish/sonarqube-deployment","owner":"robbinparrish","description":"SonarQube deployment","archived":false,"fork":false,"pushed_at":"2024-03-10T10:15:50.000Z","size":16,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-10T22:50:04.356Z","etag":null,"topics":["deployement","docker","docker-compose","docs","learning","learning-project","linux","notes","server-deployment","sonar","sonarqube","sonarqube-deployment"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/robbinparrish.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-10-31T08:44:44.000Z","updated_at":"2024-02-16T07:03:38.000Z","dependencies_parsed_at":"2024-02-16T08:49:17.933Z","dependency_job_id":null,"html_url":"https://github.com/robbinparrish/sonarqube-deployment","commit_stats":null,"previous_names":["robbinparrish/sonarqube-deployment"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robbinparrish%2Fsonarqube-deployment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robbinparrish%2Fsonarqube-deployment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robbinparrish%2Fsonarqube-deployment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robbinparrish%2Fsonarqube-deployment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robbinparrish","download_url":"https://codeload.github.com/robbinparrish/sonarqube-deployment/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241089701,"owners_count":19907796,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["deployement","docker","docker-compose","docs","learning","learning-project","linux","notes","server-deployment","sonar","sonarqube","sonarqube-deployment"],"created_at":"2024-11-12T03:25:44.939Z","updated_at":"2026-05-06T19:04:29.083Z","avatar_url":"https://github.com/robbinparrish.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Disclaimer.\nThe content on this account/repository provided solely for educational and informational purposes.\nIt is not intended for use in making any kind of business, investment and/or legal decisions.\nAlthough every effort has been made to keep the information up-to-date and accurate, no representations and/or warranties, express and/or implied, completeness, accuracy, reliability, suitability, and/or availability of the content.\n\n## SonarQube.\nThis can be used to setup a SonarQube Server.  \nSonarQube - https://docs.sonarsource.com/sonarqube/latest/\n\nSince the SonarQube image default uses non-root user in image and this user does not have write permission to host directory with bind mount. Need to perform followings to make it work with bind mount.\n```bash\nmkdir -p ./sonarqube-data/{data,logs,extensions,bundled-plugins}\nchown -R 1000:1000 ./sonarqube-data\n```\n\nFor backup of postgresql database we will need to create a directory and set the correct ownership.\n```bash\nmkdir -p ./pgsql-db/backups\nchown -R 1000:1000 ./pgsql-db/backups\n```\n\n## Docker Compose Version.\nAlways validate that [docker-compose](https://github.com/docker/compose/releases/) version is latest.\nIf not then use the latest released version. As of updating this document `v2.24.0` was latest released version.\n\n### SonarQube CE branch plugin.\nThis setup uses an additional plugin for branch analysis. Before proceeding further download the compatible version jar file and copy it to `sonarqube-data/extensions/plugins/` directory.  \nhttps://github.com/mc1arke/sonarqube-community-branch-plugin?tab=readme-ov-file#compatibility\n\nUpdate the corresponding version in the [docker-compose.yml](./docker-compose.yml) file.\n\n### Starting the container.\n```bash\ndocker-compose up -d\n```\n\n### Checking the container logs.\n```bash\ndocker-compose logs -f\n```\n\n### Once Container is successfully created, we can access the webui in the browser - http://IPADDR_OF_SYSTEM\n- Default username and password - admin/admin\n\n### Setting up first time.\n- https://docs.sonarsource.com/sonarqube/latest/analyzing-source-code/overview\n- https://github.com/SonarSource/sonar-scanning-examples\n\n### Enabling authentication using Gitlab OAuth Application.\n- https://docs.sonarsource.com/sonarqube/9.9/instance-administration/authentication/gitlab/\n\n[Backup and Restore](./configs/backup-and-restore.md)\n\n[Upgrading SonarQube](./configs/upgrading-sonarqube.md)\n\n[Generates Analysis Reports from SonarQube Web API](https://github.com/cnescatlab/sonar-cnes-report?tab=readme-ov-file#advanced-usage-standalone)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobbinparrish%2Fsonarqube-deployment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobbinparrish%2Fsonarqube-deployment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobbinparrish%2Fsonarqube-deployment/lists"}