Reset history to current sanitized state

This commit is contained in:
smileBeda committed 2026-10-23 16:00:37 +00:00
commit d8ae17a192
3 files changed
+116

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
# 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