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' => [
|
2020-04-14 21:30:05 +03:00
|
|
|
Option\Database\DatabaseDriverConfigOption::class,
|
|
|
|
Option\Database\DatabaseNameConfigOption::class,
|
|
|
|
Option\Database\DatabaseHostConfigOption::class,
|
|
|
|
Option\Database\DatabasePortConfigOption::class,
|
|
|
|
Option\Database\DatabaseUserConfigOption::class,
|
|
|
|
Option\Database\DatabasePasswordConfigOption::class,
|
2020-11-29 16:01:26 +03:00
|
|
|
Option\Database\DatabaseUnixSocketConfigOption::class,
|
2020-04-14 21:30:05 +03:00
|
|
|
Option\Database\DatabaseSqlitePathConfigOption::class,
|
|
|
|
Option\Database\DatabaseMySqlOptionsConfigOption::class,
|
|
|
|
Option\UrlShortener\ShortDomainHostConfigOption::class,
|
|
|
|
Option\UrlShortener\ShortDomainSchemaConfigOption::class,
|
|
|
|
Option\UrlShortener\ValidateUrlConfigOption::class,
|
|
|
|
Option\Visit\VisitsWebhooksConfigOption::class,
|
|
|
|
Option\Redirect\BaseUrlRedirectConfigOption::class,
|
|
|
|
Option\Redirect\InvalidShortUrlRedirectConfigOption::class,
|
|
|
|
Option\Redirect\Regular404RedirectConfigOption::class,
|
2020-01-04 15:18:28 +03:00
|
|
|
Option\DisableTrackParamConfigOption::class,
|
2020-04-14 21:30:05 +03:00
|
|
|
Option\Visit\CheckVisitsThresholdConfigOption::class,
|
|
|
|
Option\Visit\VisitsThresholdConfigOption::class,
|
2020-01-04 15:18:28 +03:00
|
|
|
Option\BasePathConfigOption::class,
|
2020-04-14 21:30:05 +03:00
|
|
|
Option\Worker\TaskWorkerNumConfigOption::class,
|
|
|
|
Option\Worker\WebWorkerNumConfigOption::class,
|
2020-01-05 19:04:22 +03:00
|
|
|
Option\RedisServersConfigOption::class,
|
2020-04-14 21:30:05 +03:00
|
|
|
Option\UrlShortener\ShortCodeLengthOption::class,
|
2020-04-13 10:38:18 +03:00
|
|
|
Option\Mercure\EnableMercureConfigOption::class,
|
|
|
|
Option\Mercure\MercurePublicUrlConfigOption::class,
|
|
|
|
Option\Mercure\MercureInternalUrlConfigOption::class,
|
|
|
|
Option\Mercure\MercureJwtSecretConfigOption::class,
|
2020-04-30 21:26:00 +03:00
|
|
|
Option\UrlShortener\GeoLiteLicenseKeyConfigOption::class,
|
2020-05-08 16:50:16 +03:00
|
|
|
Option\UrlShortener\IpAnonymizationConfigOption::class,
|
2020-06-20 12:07:15 +03:00
|
|
|
Option\UrlShortener\RedirectStatusCodeConfigOption::class,
|
|
|
|
Option\UrlShortener\RedirectCacheLifeTimeConfigOption::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
|
|
|
];
|