bootstrap blocky with stunnel
This commit is contained in:
parent
254ef01de9
commit
f333031c25
@ -195,10 +195,8 @@ EOF
|
|||||||
template {
|
template {
|
||||||
data = <<EOF
|
data = <<EOF
|
||||||
[client]
|
[client]
|
||||||
{{ range nomadService 1 (env "NOMAD_ALLOC_ID") "mysql-server" -}}
|
host=127.0.0.1
|
||||||
host={{ .Address }}
|
port=3306
|
||||||
port={{ .Port }}
|
|
||||||
{{ end -}}
|
|
||||||
user=root
|
user=root
|
||||||
{{ with nomadVar "nomad/jobs" }}
|
{{ with nomadVar "nomad/jobs" }}
|
||||||
password={{ .mysql_root_password }}
|
password={{ .mysql_root_password }}
|
||||||
|
Loading…
Reference in New Issue
Block a user