From 5ecf332bba5959c6701a5c2f5bb5f9afbdf216b4 Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Thu, 12 May 2022 12:53:03 +0300 Subject: [PATCH] Tugboat: create DRUPAL_HASH_SALT using TUGBOAT_REPO_ID --- src/EnvMapping/Tugboat.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/EnvMapping/Tugboat.php b/src/EnvMapping/Tugboat.php index b82cccf..2a52c89 100644 --- a/src/EnvMapping/Tugboat.php +++ b/src/EnvMapping/Tugboat.php @@ -17,6 +17,7 @@ public function getEnvs() : array 'DRUPAL_DB_PASS' => 'tugboat', 'DRUPAL_DB_HOST' => 'mysql', 'DRUPAL_DB_PORT' => '3306', + 'DRUPAL_HASH_SALT' => hash('sha256', getenv('TUGBOAT_REPO_ID')), 'DRUPAL_ROUTES' => getenv('TUGBOAT_DEFAULT_SERVICE_URL'), ]; }