mirror of
				https://github.com/elyby/accounts.git
				synced 2025-05-31 14:11:46 +05:30 
			
		
		
		
	
		
			
				
	
	
		
			34 lines
		
	
	
		
			1008 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
		
			1008 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
return [
 | 
						|
    'id' => 'accounts-console',
 | 
						|
    'basePath' => dirname(__DIR__),
 | 
						|
    'bootstrap' => ['log', 'queue'],
 | 
						|
    'controllerNamespace' => 'console\controllers',
 | 
						|
    'components' => [
 | 
						|
        'log' => [
 | 
						|
            'targets' => [
 | 
						|
                [
 | 
						|
                    'class' => mito\sentry\Target::class,
 | 
						|
                    'levels' => ['error', 'warning'],
 | 
						|
                ],
 | 
						|
                [
 | 
						|
                    'class' => yii\log\FileTarget::class,
 | 
						|
                    'levels' => ['error', 'warning'],
 | 
						|
                ],
 | 
						|
            ],
 | 
						|
        ],
 | 
						|
        'urlManager' => [
 | 
						|
            'hostInfo' => getenv('DOMAIN') ?: 'https://account.ely.by',
 | 
						|
        ],
 | 
						|
        'queue' => [
 | 
						|
            'on afterError' => [new console\components\ErrorHandler(), 'handleQueueError'],
 | 
						|
        ],
 | 
						|
    ],
 | 
						|
    'controllerMap' => [
 | 
						|
        'migrate' => [
 | 
						|
            'class' => yii\console\controllers\MigrateController::class,
 | 
						|
            'templateFile' => '@console/views/migration.php',
 | 
						|
        ],
 | 
						|
    ],
 | 
						|
];
 |