forked from Deuxfleurs/nixcfg
Diplonat on bespin, ipv6-only
This commit is contained in:
parent
0b3332fd32
commit
c4598bd84f
1 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
job "core:diplonat" {
|
job "core:diplonat" {
|
||||||
datacenters = ["orion", "neptune", "scorpio"]
|
datacenters = ["orion", "neptune", "scorpio", "bespin"]
|
||||||
type = "system"
|
type = "system"
|
||||||
priority = 90
|
priority = 90
|
||||||
|
|
||||||
|
@ -53,6 +53,9 @@ DIPLONAT_CONSUL_URL=https://consul.service.prod.consul:8501
|
||||||
DIPLONAT_CONSUL_TLS_SKIP_VERIFY=true
|
DIPLONAT_CONSUL_TLS_SKIP_VERIFY=true
|
||||||
DIPLONAT_CONSUL_CLIENT_CERT=/etc/diplonat/consul-client.crt
|
DIPLONAT_CONSUL_CLIENT_CERT=/etc/diplonat/consul-client.crt
|
||||||
DIPLONAT_CONSUL_CLIENT_KEY=/etc/diplonat/consul-client.key
|
DIPLONAT_CONSUL_CLIENT_KEY=/etc/diplonat/consul-client.key
|
||||||
|
{{ if env "meta.site" | eq "bespin" }}
|
||||||
|
DIPLONAT_IPV6_ONLY=true
|
||||||
|
{{ end }}
|
||||||
RUST_LOG=debug
|
RUST_LOG=debug
|
||||||
EOH
|
EOH
|
||||||
destination = "secrets/env"
|
destination = "secrets/env"
|
||||||
|
|
Loading…
Reference in a new issue