No more exposing root password
This commit is contained in:
parent
178338af00
commit
47d31f6198
1 changed files with 1 additions and 1 deletions
|
@ -87,10 +87,10 @@ EOH
|
||||||
|
|
||||||
template {
|
template {
|
||||||
data = <<EOH
|
data = <<EOH
|
||||||
MYSQL_ROOT_PASSWORD=password
|
|
||||||
MYSQL_DATABASE={{ key "mixpost/db/name" }}
|
MYSQL_DATABASE={{ key "mixpost/db/name" }}
|
||||||
MYSQL_USER={{ key "mixpost/db/user" }}
|
MYSQL_USER={{ key "mixpost/db/user" }}
|
||||||
MYSQL_PASSWORD={{ key "mixpost/db/password" }}
|
MYSQL_PASSWORD={{ key "mixpost/db/password" }}
|
||||||
|
MYSQL_RANDOM_ROOT_PASSWORD=yes
|
||||||
EOH
|
EOH
|
||||||
|
|
||||||
destination = "local/file.env"
|
destination = "local/file.env"
|
||||||
|
|
Loading…
Reference in a new issue