2017-03-11 00:25:12 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
return [
|
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Service Author
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| Each panel installation is assigned a unique UUID to identify the
|
|
|
|
| author of custom services, and make upgrades easier by identifying
|
|
|
|
| standard Pterodactyl shipped services.
|
|
|
|
*/
|
2017-03-17 02:11:15 +01:00
|
|
|
'service' => [
|
|
|
|
'core' => 'ptrdctyl-v040-11e6-8b77-86f30ca893d3',
|
|
|
|
'author' => env('SERVICE_AUTHOR'),
|
|
|
|
],
|
2017-03-11 00:25:12 +01:00
|
|
|
|
2017-03-17 00:54:31 +01:00
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Pagination
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| Certain pagination result counts can be configured here and will take
|
|
|
|
| effect globally.
|
|
|
|
*/
|
2017-03-17 02:11:15 +01:00
|
|
|
'paginate' => [
|
|
|
|
'frontend' => [
|
2017-04-09 22:04:08 +02:00
|
|
|
'servers' => env('APP_PAGINATE_FRONT_SERVERS', 15),
|
2017-03-17 02:11:15 +01:00
|
|
|
],
|
2017-04-09 22:04:08 +02:00
|
|
|
'api' => [
|
|
|
|
'nodes' => env('APP_PAGINATE_API_NODES', 25),
|
|
|
|
'servers' => env('APP_PAGINATE_API_SERVERS', 25),
|
|
|
|
'users' => env('APP_PAGINATE_API_USERS', 25),
|
|
|
|
]
|
|
|
|
],
|
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| API Options
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| Configuration options for the API.
|
|
|
|
*/
|
|
|
|
'api' => [
|
2017-04-09 22:05:18 +02:00
|
|
|
'include_on_list' => env('API_INCLUDE_ON_LIST', false),
|
2017-03-17 02:11:15 +01:00
|
|
|
],
|
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Guzzle Connections
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| Configure the timeout to be used for Guzzle connections here.
|
|
|
|
*/
|
|
|
|
'guzzle' => [
|
|
|
|
'timeout' => env('GUZZLE_TIMEOUT', 5),
|
|
|
|
'connect_timeout' => env('GUZZLE_CONNECT_TIMEOUT', 3),
|
|
|
|
],
|
2017-03-17 00:54:31 +01:00
|
|
|
|
2017-03-18 20:56:19 +01:00
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Queue Names
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| Configure the names of queues to be used in the database.
|
|
|
|
*/
|
|
|
|
'queues' => [
|
|
|
|
'low' => env('QUEUE_LOW', 'low'),
|
|
|
|
'standard' => env('QUEUE_STANDARD', 'standard'),
|
|
|
|
'high' => env('QUEUE_HIGH', 'high'),
|
|
|
|
],
|
|
|
|
|
2017-03-19 16:04:03 +01:00
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Console Configuration
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| Configure the speed at which data is rendered to the console.
|
|
|
|
*/
|
|
|
|
'console' => [
|
|
|
|
'count' => env('CONSOLE_PUSH_COUNT', 10),
|
|
|
|
'frequency' => env('CONSOLE_PUSH_FREQ', 200),
|
|
|
|
],
|
|
|
|
|
2017-03-18 20:56:19 +01:00
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Task Timers
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| The amount of time in minutes before performing certain actions on the system.
|
|
|
|
*/
|
|
|
|
'tasks' => [
|
|
|
|
'clear_log' => env('PTERODACTYL_CLEAR_TASKLOG', 720),
|
|
|
|
'delete_server' => env('PTERODACTYL_DELETE_MINUTES', 10),
|
|
|
|
],
|
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| CDN
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| Information for the panel to use when contacting the CDN to confirm
|
|
|
|
| if panel is up to date.
|
|
|
|
*/
|
|
|
|
'cdn' => [
|
|
|
|
'cache' => 60,
|
|
|
|
'url' => 'https://cdn.pterodactyl.io/releases/latest.json',
|
|
|
|
],
|
2017-03-19 16:55:36 +01:00
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Language Editor
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| Set `PHRASE_IN_CONTEXT` to true to enable the PhaseApp in-context editor
|
|
|
|
| on this site which allows you to translate the panel, from the panel.
|
|
|
|
*/
|
|
|
|
'lang' => [
|
|
|
|
'in_context' => env('PHRASE_IN_CONTEXT', false),
|
|
|
|
],
|
2017-04-02 19:19:39 +02:00
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| JSON Response Routes
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| You should not edit this block. These routes are ajax based routes that
|
|
|
|
| expect content to be returned in JSON format.
|
|
|
|
*/
|
|
|
|
'json_routes' => [
|
|
|
|
'api/*',
|
|
|
|
'daemon/*',
|
|
|
|
'remote/*',
|
|
|
|
],
|
2017-03-11 00:25:12 +01:00
|
|
|
];
|