Add missing service to Wesher
Promtail, Backups, service module
This commit is contained in:
parent
0a84fd04bc
commit
27fd60d84d
@ -8,6 +8,7 @@ job "metrics" {
|
|||||||
mode = "bridge"
|
mode = "bridge"
|
||||||
|
|
||||||
port "promtail" {
|
port "promtail" {
|
||||||
|
host_network = "wesher"
|
||||||
to = 9080
|
to = 9080
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -38,6 +38,7 @@ job "backup%{ if batch_node != null }-oneoff-${batch_node}%{ endif }" {
|
|||||||
mode = "bridge"
|
mode = "bridge"
|
||||||
|
|
||||||
port "metrics" {
|
port "metrics" {
|
||||||
|
host_network = "wesher"
|
||||||
to = 8080
|
to = 8080
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -9,9 +9,7 @@ job "${name}" {
|
|||||||
mode = "bridge"
|
mode = "bridge"
|
||||||
%{ if service_port != null ~}
|
%{ if service_port != null ~}
|
||||||
port "main" {
|
port "main" {
|
||||||
%{ if ingress }
|
|
||||||
host_network = "wesher"
|
host_network = "wesher"
|
||||||
%{~ endif }
|
|
||||||
to = ${service_port}
|
to = ${service_port}
|
||||||
}
|
}
|
||||||
%{ endif }
|
%{ endif }
|
||||||
|
Loading…
Reference in New Issue
Block a user