Files

1.7 KiB

SonarQube

SonarQube analyzes source code and records code-quality findings and analysis history.

Deployment layout

  • Compose: /srv/docker/sonarqube/docker-compose.yml
  • Static configuration/source: none beyond Compose; this deployment uses container images
  • Non-secret environment: JVM options are declared inline in Compose; other environment values are supplied through the protected central environment file
  • Secrets: /srv/docker/secrets/sonarqube/.env, supplied to both SonarQube and PostgreSQL
  • NVMe application state: /srv/appdata/sonarqube/data, /srv/appdata/sonarqube/extensions, /srv/appdata/sonarqube/logs, /srv/appdata/sonarqube/temp, and /srv/appdata/sonarqube/postgres
  • Bulk HDD data: none
  • Other mounts: none

Secrets are never committed to this repository. Preserve the protected central environment alongside recoverable application and database backups without copying its values into this repository.

Dependencies and recovery

  • Networks/dependencies: PostgreSQL on the project bridge sonarqube_internal; SonarQube also joins external npm_proxy at 192.168.98.19. The database healthcheck gates application startup. Existing reverse-proxy and scanner integrations remain dependencies.
  • Back up: a consistent PostgreSQL backup, /srv/appdata/sonarqube/extensions, the protected central environment, and this deployment repository. Preserve all five state directories together for a stopped-service migration rollback. Verify independent backup coverage and restore testing.
  • Re-creatable: container images, temporary files, and Elasticsearch indexes when PostgreSQL is the verified authoritative database; logs are generated but may be needed for diagnostics