Use variable secrets location for mysql

This commit is contained in:
IamTheFij 2023-05-09 15:57:09 -07:00
parent 5dc0e4bcaf
commit 73e9977d41

View File

@ -70,7 +70,7 @@ job "mysql-server" {
MYSQL_ROOT_PASSWORD={{ .mysql_root_password }} MYSQL_ROOT_PASSWORD={{ .mysql_root_password }}
{{ end }} {{ end }}
EOH EOH
destination = "secrets/db.env" destination = "${NOMAD_SECRETS_DIR}/db.env"
env = true env = true
} }