bootstrap blocky with stunnel

This commit is contained in:
IamTheFij 2023-07-26 23:23:23 -07:00
parent 254ef01de9
commit f333031c25

View File

@ -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 }}