Change traefik to a service running on bastion host
This commit is contained in:
parent
e1e79362c5
commit
20fe4a112e
1 changed files with 6 additions and 1 deletions
|
@ -1,6 +1,11 @@
|
||||||
job "traefik" {
|
job "traefik" {
|
||||||
datacenters = ["aperture"]
|
datacenters = ["aperture"]
|
||||||
type = "system"
|
type = "service"
|
||||||
|
|
||||||
|
constraint {
|
||||||
|
attribute = "${attr.unique.hostname}"
|
||||||
|
value = "bastion-vm"
|
||||||
|
}
|
||||||
|
|
||||||
group "traefik" {
|
group "traefik" {
|
||||||
network {
|
network {
|
||||||
|
|
Loading…
Reference in a new issue