Skip to content

Instantly share code, notes, and snippets.

@eduardosramos
Created August 23, 2022 18:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eduardosramos/6e77120ee3f2c7bb6792f0a899b002db to your computer and use it in GitHub Desktop.
Save eduardosramos/6e77120ee3f2c7bb6792f0a899b002db to your computer and use it in GitHub Desktop.
Arquivo client usado no ambiente Sonarqube
log_level = "INFO"
datacenter = "dc1"
name="sonarqube"
plugin_dir = "/var/nomad/plugins"
client {
enabled = true
host_volume "sonarqube_home" {
path = "/opt/sonarqube"
read_only = false
}
host_volume "sonarqube_data" {
path = "/opt/sonarqube/data"
read_only = false
}
host_volume "sonarqube_temp" {
path = "/opt/sonarqube/temp"
read_only = false
}
host_volume "sonarqube_conf" {
path = "/opt/sonarqube/conf"
read_only = false
}
host_volume "sonarqube_extensions" {
path = "/opt/sonarqube/extensions"
read_only = false
}
options = {
"driver.raw_exec.enable" = "true"
"docker.privileged.enabled" = "true"
"docker.volumes.enabled" = "true"
}
}
ports {
http = 4646
}
plugin "raw_exec" {
config {
enabled = true
}
}
telemetry {
collection_interval = "10s"
}
plugin "docker" {
config {
auth {
config = "/root/.docker/config.json"
}
}
allow_runtimes = ["runc", "sysbox-runc"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment