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