'This allows you to log debug-level errors temporarily (for problem-solving) or reduce the volume of logs that are produced by your installation, without needing to modify whether your installation is a production or development instance.'
),
'options'=>[
LogLevel::DEBUG,
LogLevel::INFO,
LogLevel::NOTICE,
LogLevel::WARNING,
LogLevel::ERROR,
LogLevel::CRITICAL,
LogLevel::ALERT,
LogLevel::EMERGENCY,
],
],
'COMPOSER_PLUGIN_MODE'=>[
'name'=>__('Composer Plugin Mode'),
'description'=>__(
'Enable the composer "merge" functionality to combine the main application\'s composer.json file with any plugin composer files. This can have performance implications, so you should only use it if you use one or more plugins with their own Composer dependencies.',
),
'options'=>[true,false],
'default'=>false,
],
Environment::AUTO_ASSIGN_PORT_MIN=>[
'name'=>__(
'Minimum Port for Station Port Assignment'
),
'description'=>__(
'Modify this if your stations are listening on nonstandard ports.',
),
],
Environment::AUTO_ASSIGN_PORT_MAX=>[
'name'=>__(
'Maximum Port for Station Port Assignment'
),
'description'=>__(
'Modify this if your stations are listening on nonstandard ports.',
),
],
Environment::DB_HOST=>[
'name'=>__('MariaDB Host'),
'description'=>__(
'Do not modify this after installation.',
),
'default'=>$dbSettings['host'],
'required'=>true,
],
Environment::DB_PORT=>[
'name'=>__('MariaDB Port'),
'description'=>__(
'Do not modify this after installation.',
),
'default'=>$dbSettings['port'],
'required'=>true,
],
Environment::DB_USER=>[
'name'=>__('MariaDB Username'),
'description'=>__(
'Do not modify this after installation.',
),
'default'=>$dbSettings['user'],
'required'=>true,
],
Environment::DB_PASSWORD=>[
'name'=>__('MariaDB Password'),
'description'=>__(
'Do not modify this after installation.',
),
'default'=>$dbSettings['password'],
'required'=>true,
],
Environment::DB_NAME=>[
'name'=>__('MariaDB Database Name'),
'description'=>__(
'Do not modify this after installation.',
),
'default'=>$dbSettings['dbname'],
'required'=>true,
],
'MYSQL_RANDOM_ROOT_PASSWORD'=>[
'name'=>__('Auto-generate Random MariaDB Root Password'),
'Log slower queries to diagnose possible database issues. Only turn this on if needed.',
),
'default'=>0,
],
'MYSQL_MAX_CONNECTIONS'=>[
'name'=>__('MariaDB Maximum Connections'),
'description'=>__(
'Set the amount of allowed connections to the database. This value should be increased if you are seeing the "Too many connections" error in the logs.',
),
'default'=>100,
],
Environment::ENABLE_REDIS=>[
'name'=>__('Enable Redis'),
'description'=>__(
'Disable to use a flatfile cache instead of Redis.',
),
],
Environment::REDIS_HOST=>[
'name'=>__('Redis Host'),
'default'=>$redisSettings['host'],
'required'=>true,
],
Environment::REDIS_PORT=>[
'name'=>__('Redis Port'),
'default'=>$redisSettings['port'],
'required'=>true,
],
Environment::REDIS_DB=>[
'name'=>__('Redis Database Index'),
'options'=>range(0,15),
'default'=>$redisSettings['db'],
'required'=>true,
],
'PHP_MAX_FILE_SIZE'=>[
'name'=>__('PHP Maximum POST File Size'),
'default'=>'25M',
],
'PHP_MEMORY_LIMIT'=>[
'name'=>__('PHP Memory Limit'),
'default'=>'128M',
],
'PHP_MAX_EXECUTION_TIME'=>[
'name'=>__('PHP Script Maximum Execution Time'),
'description'=>__('(in seconds)'),
'default'=>30,
],
Environment::SYNC_SHORT_EXECUTION_TIME=>[
'name'=>__('Short Sync Task Execution Time'),
'description'=>__(
'The maximum execution time (and lock timeout) for the 15-second, 1-minute and 5-minute synchronization tasks.'
),
],
Environment::SYNC_LONG_EXECUTION_TIME=>[
'name'=>__('Long Sync Task Execution Time'),
'description'=>__(
'The maximum execution time (and lock timeout) for the 1-hour synchronization task.',