$newEnv[] = 'DATABASE_SSL_CA=' .
$info->
getSslCaPath();
} if (!
empty($info->
getSslCertPath())) { $newEnv[] = 'DATABASE_SSL_CERT=' .
$info->
getSslCertPath();
} if (!
empty($info->
getSslCertKeyPath())) { $newEnv[] = 'DATABASE_SSL_KEY=' .
$info->
getSslCertKeyPath();
} if ($info->
getSslDontVerifyServerCert() !== null
) { $newEnv[] = 'DATABASE_SSL_DONT_VERIFY_SERVER_CERT=' .
($info->
getSslDontVerifyServerCert() ? '1' : ''
);
} $newEnv[] = 'COMPOSER_HOME=' .
$this->projectDir . '/var/cache/composer';
$newEnv[] = 'INSTANCE_ID=' .
$uniqueId;
$newEnv[] = 'BLUE_GREEN_DEPLOYMENT=' .
(int) $shop['blueGreenDeployment'
];
$newEnv[] = 'OPENSEARCH_URL=http://localhost:9200';
$newEnv[] = 'ADMIN_OPENSEARCH_URL=http://localhost:9200';
file_put_contents($this->projectDir . '/.env.local',
implode("\n",
$newEnv));