Fix mysql

This commit is contained in:
IamTheFij 2022-07-25 16:29:43 -07:00
parent 56b7ea8a9c
commit aa6db53047

View File

@ -82,7 +82,7 @@ job "mysql-server" {
template { template {
data = <<EOH data = <<EOH
{{ with secret "kv/data/mysql" }} {{ with secret "kv/data/mysql" }}
MYSQL_ROOT_PASSWORD={{ Data.data.root_password }} MYSQL_ROOT_PASSWORD={{ .Data.data.root_password }}
{{ end }} {{ end }}
EOH EOH
destination = "secrets/db.env" destination = "secrets/db.env"