Simplify mysql for blocky
This commit is contained in:
parent
c9a892e377
commit
46dc44aca4
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user