Skip to content

Instantly share code, notes, and snippets.

View eduardosramos's full-sized avatar
🤩

Eduardo Ramos eduardosramos

🤩
View GitHub Profile
@eduardosramos
eduardosramos / client.hcl
Created August 23, 2022 18:01
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" {
# 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" {
@eduardosramos
eduardosramos / monitoring.nomad
Last active August 5, 2022 11:58
Monitoramento
job "metrics" {
datacenters = ["dc1"]
group "prometheus" {
volume "prometheus" {
type = "host"
read_only = false
source = "prometheus"
}