Fix blocky redis stunnel lookup
This commit is contained in:
parent
f17dec7b57
commit
c7f85bd985
@ -108,6 +108,11 @@ job "blocky" {
|
|||||||
task "redis-stunnel" {
|
task "redis-stunnel" {
|
||||||
driver = "docker"
|
driver = "docker"
|
||||||
|
|
||||||
|
lifecycle {
|
||||||
|
hook = "prestart"
|
||||||
|
sidecar = true
|
||||||
|
}
|
||||||
|
|
||||||
config {
|
config {
|
||||||
image = "alpine:3.17"
|
image = "alpine:3.17"
|
||||||
ports = ["tls"]
|
ports = ["tls"]
|
||||||
|
@ -95,7 +95,7 @@ customDNS:
|
|||||||
prometheus:
|
prometheus:
|
||||||
enable: true
|
enable: true
|
||||||
|
|
||||||
{{ range nomadService 1 (env "NOMAD_ALLOC_ID") "redis" -}}
|
{{ range nomadService 1 (env "NOMAD_ALLOC_ID") "redis-tls" -}}
|
||||||
redis:
|
redis:
|
||||||
address: 127.0.0.1:6379
|
address: 127.0.0.1:6379
|
||||||
# password: ""
|
# password: ""
|
||||||
|
Loading…
Reference in New Issue
Block a user