Add missing service to Wesher

Promtail, Backups, service module
This commit is contained in:
IamTheFij 2023-05-02 21:14:36 -07:00
parent 0a84fd04bc
commit 27fd60d84d
3 changed files with 2 additions and 2 deletions

View File

@ -8,6 +8,7 @@ job "metrics" {
mode = "bridge" mode = "bridge"
port "promtail" { port "promtail" {
host_network = "wesher"
to = 9080 to = 9080
} }
} }

View File

@ -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
} }
} }

View File

@ -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 }