2019-02-10 23:57:29 +03:00
|
|
|
<?php
|
2019-10-05 18:26:10 +03:00
|
|
|
|
2019-02-10 23:57:29 +03:00
|
|
|
declare(strict_types=1);
|
|
|
|
|
2020-01-04 15:18:28 +03:00
|
|
|
use Shlinkio\Shlink\Installer\Config\Option;
|
2019-02-10 23:57:29 +03:00
|
|
|
|
|
|
|
return [
|
|
|
|
|
2020-01-04 15:18:28 +03: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,
|
2019-02-10 23:57:29 +03:00
|
|
|
],
|
|
|
|
|
2020-01-04 15:18:28 +03:00
|
|
|
'installation_commands' => [
|
|
|
|
'db_create_schema' => [
|
|
|
|
'command' => 'bin/cli db:create',
|
|
|
|
],
|
|
|
|
'db_migrate' => [
|
|
|
|
'command' => 'bin/cli db:migrate',
|
|
|
|
],
|
2019-08-06 21:48:48 +03:00
|
|
|
],
|
2019-08-05 11:08:59 +03:00
|
|
|
],
|
|
|
|
|
2019-02-10 23:57:29 +03:00
|
|
|
];
|