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