SonarQube
Code quality and security analysis platform for continuous code inspection.
code-qualitysecurityanalysis
Usage
import { defineConfig } from 'dockup/config';
import { sonarqube } from 'dockup/services';
export default defineConfig({
services: [
sonarqube()
],
});
Metadata
This service automatically exposes metadata.
dockup metadata
Web Interface: http://localhost:9000
SonarQube dashboard for code analysis
Default Credentials: Username: admin, Password: admin
Initial login credentials (change after first login)
Scanner Configuration: sonar.host.url=http://localhost:9000
Server URL for SonarQube scanners
Edition: community
SonarQube edition being used
The above are the metadata generated when using this service with the default options.
Options
Prop | Type | Default |
---|---|---|
port? | number | 9000 |
adminUser? | string | "admin" |
adminPassword? | string | "admin" |
database? | "h2" | "postgresql" | "h2" (embedded) |
javaOpts? | string | "512m" |
edition? | "community" | "developer" | "enterprise" | "datacenter" | "community" |
name? | string | - |
image? | string | - |
extend? | ((service: ContainerService) => ContainerService) | - |