add constraint for local traefick
This commit is contained in:
parent
de0698995c
commit
ea2cc6eec4
@ -1,7 +1,10 @@
|
||||
job "traefik-local" {
|
||||
datacenters = ["homelab"]
|
||||
type = "service"
|
||||
|
||||
constraint {
|
||||
attribute = "${attr.unique.hostname}"
|
||||
value = "gerard"
|
||||
}
|
||||
group "traefik-local" {
|
||||
network {
|
||||
mode = "host"
|
||||
|
Loading…
Reference in New Issue
Block a user