2019-02-10 14:57:29 -06:00
|
|
|
<?php
|
2019-10-05 10:26:10 -05:00
|
|
|
|
2019-02-10 14:57:29 -06:00
|
|
|
declare(strict_types=1);
|
|
|
|
|
2020-01-04 06:18:28 -06:00
|
|
|
use Shlinkio\Shlink\Installer\Config\Option;
|
2019-02-10 14:57:29 -06:00
|
|
|
|
|
|
|
return [
|
|
|
|
|
2020-01-04 06:18:28 -06:00
|
|
|
'installer' => [
|
|
|
|
'enabled_options' => [
|
|
|
|
Option\DatabaseDriverConfigOption::class,
|
|
|
|
Option\DatabaseNameConfigOption::class,
|
|
|
|
Option\DatabaseHostConfigOption::class,
|
|
|
|
Option\DatabasePortConfigOption::class,
|
|
|
|
Option\DatabaseUserConfigOption::class,
|
|
|
|
Option\DatabasePasswordConfigOption::class,
|
|
|
|
Option\DatabaseSqlitePathConfigOption::class,
|
|
|
|
Option\DatabaseMySqlOptionsConfigOption::class,
|
|
|
|
Option\ShortDomainHostConfigOption::class,
|
|
|
|
Option\ShortDomainSchemaConfigOption::class,
|
|
|
|
Option\ValidateUrlConfigOption::class,
|
|
|
|
Option\VisitsWebhooksConfigOption::class,
|
|
|
|
Option\BaseUrlRedirectConfigOption::class,
|
|
|
|
Option\InvalidShortUrlRedirectConfigOption::class,
|
|
|
|
Option\Regular404RedirectConfigOption::class,
|
|
|
|
Option\DisableTrackParamConfigOption::class,
|
|
|
|
Option\CheckVisitsThresholdConfigOption::class,
|
|
|
|
Option\VisitsThresholdConfigOption::class,
|
|
|
|
Option\BasePathConfigOption::class,
|
|
|
|
Option\TaskWorkerNumConfigOption::class,
|
|
|
|
Option\WebWorkerNumConfigOption::class,
|
2020-01-05 10:04:22 -06:00
|
|
|
Option\RedisServersConfigOption::class,
|
2019-02-10 14:57:29 -06:00
|
|
|
],
|
|
|
|
|
2020-01-04 06:18:28 -06:00
|
|
|
'installation_commands' => [
|
|
|
|
'db_create_schema' => [
|
|
|
|
'command' => 'bin/cli db:create',
|
|
|
|
],
|
|
|
|
'db_migrate' => [
|
|
|
|
'command' => 'bin/cli db:migrate',
|
|
|
|
],
|
2019-08-06 13:48:48 -05:00
|
|
|
],
|
2019-08-05 03:08:59 -05:00
|
|
|
],
|
|
|
|
|
2019-02-10 14:57:29 -06:00
|
|
|
];
|