Skip to content

Commit

Permalink
Standalone bootstrap - process a DBTOOLS_CONNECTION env var
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonMellerin committed Dec 6, 2024
1 parent 21f21ae commit 217b388
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Bridge/Standalone/Bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,9 @@ private static function configParseFile(string $filename): array
*/
private static function configGetEnv(array $config): array
{
if (!isset($config['backup_binary'])) {
$config['connections'] = self::getEnv('DBTOOLS_CONNECTION');
}
if (!isset($config['backup_binary'])) {
$config['backup_binary'] = self::getEnv('DBTOOLS_BACKUP_BINARY');
}
Expand Down

0 comments on commit 217b388

Please sign in to comment.