No more exposing root password

This commit is contained in:
Gavin Holahan 2025-01-26 17:17:39 +00:00
parent 178338af00
commit 47d31f6198
No known key found for this signature in database
GPG key ID: E8F3F7D8AA86657D

View file

@ -87,10 +87,10 @@ EOH
template {
data = <<EOH
MYSQL_ROOT_PASSWORD=password
MYSQL_DATABASE={{ key "mixpost/db/name" }}
MYSQL_USER={{ key "mixpost/db/user" }}
MYSQL_PASSWORD={{ key "mixpost/db/password" }}
MYSQL_RANDOM_ROOT_PASSWORD=yes
EOH
destination = "local/file.env"