Fix blocky redis stunnel lookup

This commit is contained in:
IamTheFij 2023-03-27 15:21:19 -07:00
parent f17dec7b57
commit c7f85bd985
2 changed files with 6 additions and 1 deletions

View File

@ -108,6 +108,11 @@ job "blocky" {
task "redis-stunnel" {
driver = "docker"
lifecycle {
hook = "prestart"
sidecar = true
}
config {
image = "alpine:3.17"
ports = ["tls"]

View File

@ -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: ""