shlink/config/autoload/installer.global.php

52 lines
2.1 KiB
PHP
Raw Normal View History

<?php
2019-10-05 10:26:10 -05:00
declare(strict_types=1);
2020-01-04 06:18:28 -06:00
use Shlinkio\Shlink\Installer\Config\Option;
return [
2020-01-04 06:18:28 -06:00
'installer' => [
'enabled_options' => [
2020-04-14 13:30:05 -05: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,
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 06:18:28 -06:00
Option\DisableTrackParamConfigOption::class,
2020-04-14 13:30:05 -05:00
Option\Visit\CheckVisitsThresholdConfigOption::class,
Option\Visit\VisitsThresholdConfigOption::class,
2020-01-04 06:18:28 -06:00
Option\BasePathConfigOption::class,
2020-04-14 13:30:05 -05:00
Option\Worker\TaskWorkerNumConfigOption::class,
Option\Worker\WebWorkerNumConfigOption::class,
2020-01-05 10:04:22 -06:00
Option\RedisServersConfigOption::class,
2020-04-14 13:30:05 -05:00
Option\UrlShortener\ShortCodeLengthOption::class,
Option\Mercure\EnableMercureConfigOption::class,
Option\Mercure\MercurePublicUrlConfigOption::class,
Option\Mercure\MercureInternalUrlConfigOption::class,
Option\Mercure\MercureJwtSecretConfigOption::class,
2020-04-30 13:26:00 -05:00
Option\UrlShortener\GeoLiteLicenseKeyConfigOption::class,
],
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',
],
],
],
];