This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
log_level = "INFO" | |
datacenter = "dc1" | |
name="sonarqube" | |
plugin_dir = "/var/nomad/plugins" | |
client { | |
enabled = true | |
host_volume "sonarqube_home" { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Antes, é preciso criar no client.hcl o caminho para os volumes abaixo. | |
job "sonarqube"{ | |
datacenters = ["dc1"] | |
type = "service" | |
group "sonarqube" { | |
count = 1 | |
network { | |
port "http" { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
job "metrics" { | |
datacenters = ["dc1"] | |
group "prometheus" { | |
volume "prometheus" { | |
type = "host" | |
read_only = false | |
source = "prometheus" | |
} |