Make traefik a system service
For this to work, will need to put TLS certs in Vault
This commit is contained in:
parent
ce18650e1f
commit
a02f1a2317
@ -14,7 +14,7 @@ job "traefik" {
|
|||||||
region = "global"
|
region = "global"
|
||||||
datacenters = ["dc1"]
|
datacenters = ["dc1"]
|
||||||
|
|
||||||
type = "service"
|
type = "system"
|
||||||
|
|
||||||
constraint {
|
constraint {
|
||||||
attribute = "${node.class}"
|
attribute = "${node.class}"
|
||||||
@ -22,7 +22,6 @@ job "traefik" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
group "traefik" {
|
group "traefik" {
|
||||||
count = 1
|
|
||||||
|
|
||||||
network {
|
network {
|
||||||
port "web" {
|
port "web" {
|
||||||
|
Loading…
Reference in New Issue
Block a user