Make traefik a system service
For this to work, will need to put TLS certs in Vault
This commit is contained in:
parent
b6a9c80748
commit
37c6fd4735
@ -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