Use variable secrets location for mysql
This commit is contained in:
parent
5dc0e4bcaf
commit
73e9977d41
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user