Simplify mysql for blocky

This commit is contained in:
IamTheFij 2023-03-23 22:09:15 -07:00
parent c9a892e377
commit 46dc44aca4

View File

@ -102,9 +102,9 @@ redis:
{{ end -}} {{ end -}}
{{ $mysql_addr := "" }} {{ $mysql_addr := "" }}
{{ with nomadService 1 (env "NOMAD_ALLOC_ID") "mysql-server" -}}{{ range . -}} {{ range nomadService 1 (env "NOMAD_ALLOC_ID") "mysql-server" -}}
{{ $mysql_addr = print .Address ":" .Port }} {{ $mysql_addr = print .Address ":" .Port }}
{{- end }}{{- end }} {{- end }}
{{ with nomadVar "nomad/jobs/blocky" -}} {{ with nomadVar "nomad/jobs/blocky" -}}
queryLog: queryLog:
type: mysql type: mysql