selete constraint on traefik

This commit is contained in:
vincent 2022-05-14 09:32:33 +02:00
parent 34cca8db64
commit 9136e3f1bb

View File

@ -1,10 +1,7 @@
job "traefik-local" {
datacenters = ["homelab"]
type = "service"
constraint {
attribute = "${attr.unique.hostname}"
value = "gerard"
}
group "traefik-local" {
network {
mode = "host"