mirror of
https://github.com/shlinkio/shlink.git
synced 2024-12-19 09:35:13 +03:00
54 lines
2.3 KiB
PHP
54 lines
2.3 KiB
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Shlinkio\Shlink\Installer\Config\Option;
|
|
|
|
return [
|
|
|
|
'installer' => [
|
|
'enabled_options' => [
|
|
Option\Database\DatabaseDriverConfigOption::class,
|
|
Option\Database\DatabaseNameConfigOption::class,
|
|
Option\Database\DatabaseHostConfigOption::class,
|
|
Option\Database\DatabasePortConfigOption::class,
|
|
Option\Database\DatabaseUserConfigOption::class,
|
|
Option\Database\DatabasePasswordConfigOption::class,
|
|
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,
|
|
Option\DisableTrackParamConfigOption::class,
|
|
Option\Visit\CheckVisitsThresholdConfigOption::class,
|
|
Option\Visit\VisitsThresholdConfigOption::class,
|
|
Option\BasePathConfigOption::class,
|
|
Option\Worker\TaskWorkerNumConfigOption::class,
|
|
Option\Worker\WebWorkerNumConfigOption::class,
|
|
Option\RedisServersConfigOption::class,
|
|
Option\UrlShortener\ShortCodeLengthOption::class,
|
|
Option\Mercure\EnableMercureConfigOption::class,
|
|
Option\Mercure\MercurePublicUrlConfigOption::class,
|
|
Option\Mercure\MercureInternalUrlConfigOption::class,
|
|
Option\Mercure\MercureJwtSecretConfigOption::class,
|
|
Option\UrlShortener\GeoLiteLicenseKeyConfigOption::class,
|
|
Option\UrlShortener\IpAnonymizationConfigOption::class,
|
|
Option\UrlShortener\RedirectStatusCodeConfigOption::class,
|
|
Option\UrlShortener\RedirectCacheLifeTimeConfigOption::class,
|
|
],
|
|
|
|
'installation_commands' => [
|
|
'db_create_schema' => [
|
|
'command' => 'bin/cli db:create',
|
|
],
|
|
'db_migrate' => [
|
|
'command' => 'bin/cli db:migrate',
|
|
],
|
|
],
|
|
],
|
|
|
|
];
|