mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Update used packages to their latest versions
This commit is contained in:
+65
-40
@@ -2,7 +2,7 @@
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
/**
|
||||
* You can specify one of several different connections when building an
|
||||
* Elasticsearch client.
|
||||
*
|
||||
@@ -10,17 +10,19 @@ return [
|
||||
* as your default connection when building an client. Of course you may
|
||||
* use create several clients at once, each with different configurations.
|
||||
*/
|
||||
|
||||
'defaultConnection' => 'default',
|
||||
|
||||
/*
|
||||
/**
|
||||
* These are the connection parameters used when building a client.
|
||||
*/
|
||||
|
||||
'connections' => [
|
||||
|
||||
'default' => [
|
||||
|
||||
/*
|
||||
* Hosts.
|
||||
/**
|
||||
* Hosts
|
||||
*
|
||||
* This is an array of hosts that the client will connect to. It can be a
|
||||
* single host, or an array if you are running a cluster of Elasticsearch
|
||||
@@ -36,21 +38,33 @@ return [
|
||||
*
|
||||
* @see https://www.elastic.co/guide/en/elasticsearch/client/php-api/2.0/_configuration.html#_inline_host_configuration
|
||||
*/
|
||||
|
||||
'hosts' => [
|
||||
env('ELASTICSEARCH_SCHEME', 'http').'://'.env('ELASTICSEARCH_HOST', 'localhost').':'.env('ELASTICSEARCH_PORT', 9200),
|
||||
],
|
||||
'basicAuthentication' => [
|
||||
'user' => env('ELASTICSEARCH_USER', null),
|
||||
'pass' => env('ELASTICSEARCH_PASS', null),
|
||||
],
|
||||
'cloud_api' => [
|
||||
// Alternatively, you can log in via API keys
|
||||
'api_id' => env('ELASTICSEARCH_API_ID', null),
|
||||
'api_key' => env('ELASTICSEARCH_API_KEY', null),
|
||||
[
|
||||
'host' => env('ELASTICSEARCH_HOST', 'localhost'),
|
||||
// For local development, the default Elasticsearch port is 9200.
|
||||
// If you are connecting to an Elasticsearch instance on AWS, you probably want to set this to null
|
||||
'port' => env('ELASTICSEARCH_PORT', 9200),
|
||||
'scheme' => env('ELASTICSEARCH_SCHEME', null),
|
||||
'user' => env('ELASTICSEARCH_USER', null),
|
||||
'pass' => env('ELASTICSEARCH_PASS', null),
|
||||
|
||||
// Alternatively, you can log in via API keys
|
||||
'api_id' => env('ELASTICSEARCH_API_ID', null),
|
||||
'api_key' => env('ELASTICSEARCH_API_KEY', null),
|
||||
|
||||
// If you are connecting to an Elasticsearch instance on AWS, you will need these values as well
|
||||
'aws' => env('AWS_ELASTICSEARCH_ENABLED', false),
|
||||
'aws_region' => env('AWS_REGION', ''),
|
||||
'aws_key' => env('AWS_ACCESS_KEY_ID', ''),
|
||||
'aws_secret' => env('AWS_SECRET_ACCESS_KEY', ''),
|
||||
'aws_credentials' => null,
|
||||
'aws_session_token' => env('AWS_SESSION_TOKEN', null),
|
||||
],
|
||||
],
|
||||
|
||||
/*
|
||||
* SSL.
|
||||
/**
|
||||
* SSL
|
||||
*
|
||||
* If your Elasticsearch instance uses an out-dated or self-signed SSL
|
||||
* certificate, you will need to pass in the certificate bundle. This can
|
||||
@@ -64,10 +78,11 @@ return [
|
||||
*
|
||||
* @see https://www.elastic.co/guide/en/elasticsearch/client/php-api/2.0/_security.html#_ssl_encryption_2
|
||||
*/
|
||||
|
||||
'sslVerification' => null,
|
||||
|
||||
/*
|
||||
* Logging.
|
||||
/**
|
||||
* Logging
|
||||
*
|
||||
* Logging is handled by passing in an instance of Monolog\Logger (which
|
||||
* coincidentally is what Laravel's default logger is).
|
||||
@@ -83,7 +98,8 @@ return [
|
||||
*
|
||||
* @see https://www.elastic.co/guide/en/elasticsearch/client/php-api/2.0/_configuration.html#enabling_logger
|
||||
*/
|
||||
'logging' => env('ELASTICSEARCH_LOGGING', false),
|
||||
|
||||
'logging' => false,
|
||||
|
||||
// If you have an existing instance of Monolog you can use it here.
|
||||
// 'logObject' => \Log::getMonolog(),
|
||||
@@ -92,8 +108,8 @@ return [
|
||||
|
||||
'logLevel' => Monolog\Logger::INFO,
|
||||
|
||||
/*
|
||||
* Retries.
|
||||
/**
|
||||
* Retries
|
||||
*
|
||||
* By default, the client will retry n times, where n = number of nodes in
|
||||
* your cluster. If you would like to disable retries, or change the number,
|
||||
@@ -101,70 +117,79 @@ return [
|
||||
*
|
||||
* @see https://www.elastic.co/guide/en/elasticsearch/client/php-api/2.0/_configuration.html#_set_retries
|
||||
*/
|
||||
|
||||
'retries' => null,
|
||||
|
||||
/*
|
||||
/**
|
||||
* The remainder of the configuration options can almost always be left
|
||||
* as-is unless you have specific reasons to change them. Refer to the
|
||||
* appropriate sections in the Elasticsearch documentation for what each option
|
||||
* does and what values it expects.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Sniff On Start.
|
||||
/**
|
||||
* Sniff On Start
|
||||
*
|
||||
* @see https://www.elastic.co/guide/en/elasticsearch/client/php-api/2.0/_configuration.html
|
||||
*/
|
||||
|
||||
'sniffOnStart' => false,
|
||||
|
||||
/*
|
||||
* HTTP Handler.
|
||||
/**
|
||||
* HTTP Handler
|
||||
*
|
||||
* @see https://www.elastic.co/guide/en/elasticsearch/client/php-api/2.0/_configuration.html#_configure_the_http_handler
|
||||
* @see http://ringphp.readthedocs.org/en/latest/client_handlers.html
|
||||
*/
|
||||
|
||||
'httpHandler' => null,
|
||||
|
||||
/*
|
||||
* Connection Pool.
|
||||
/**
|
||||
* Connection Pool
|
||||
*
|
||||
* @see https://www.elastic.co/guide/en/elasticsearch/client/php-api/2.0/_configuration.html#_setting_the_connection_pool
|
||||
* @see https://www.elastic.co/guide/en/elasticsearch/client/php-api/2.0/_connection_pool.html
|
||||
*/
|
||||
|
||||
'connectionPool' => null,
|
||||
|
||||
/*
|
||||
* Connection Selector.
|
||||
/**
|
||||
* Connection Selector
|
||||
*
|
||||
* @see https://www.elastic.co/guide/en/elasticsearch/client/php-api/2.0/_configuration.html#_setting_the_connection_selector
|
||||
* @see https://www.elastic.co/guide/en/elasticsearch/client/php-api/2.0/_selectors.html
|
||||
*/
|
||||
|
||||
'connectionSelector' => null,
|
||||
|
||||
/*
|
||||
* Serializer.
|
||||
/**
|
||||
* Serializer
|
||||
*
|
||||
* @see https://www.elastic.co/guide/en/elasticsearch/client/php-api/2.0/_configuration.html#_setting_the_serializer
|
||||
* @see https://www.elastic.co/guide/en/elasticsearch/client/php-api/2.0/_serializers.html
|
||||
*/
|
||||
|
||||
'serializer' => null,
|
||||
|
||||
/*
|
||||
* Connection Factory.
|
||||
/**
|
||||
* Connection Factory
|
||||
*
|
||||
* @see https://www.elastic.co/guide/en/elasticsearch/client/php-api/2.0/_configuration.html#_setting_a_custom_connectionfactory
|
||||
*/
|
||||
|
||||
'connectionFactory' => null,
|
||||
|
||||
/*
|
||||
* Endpoint.
|
||||
/**
|
||||
* Endpoint
|
||||
*
|
||||
* @see https://www.elastic.co/guide/en/elasticsearch/client/php-api/6.0/_configuration.html#_set_the_endpoint_closure
|
||||
*/
|
||||
|
||||
'endpoint' => null,
|
||||
|
||||
/*
|
||||
* Register additional namespaces.
|
||||
|
||||
/**
|
||||
* Register additional namespaces
|
||||
*
|
||||
* An array of additional namespaces to register.
|
||||
*
|
||||
@@ -173,8 +198,8 @@ return [
|
||||
*/
|
||||
'namespaces' => [],
|
||||
|
||||
/*
|
||||
* Tracer.
|
||||
/**
|
||||
* Tracer
|
||||
*
|
||||
* Tracer is handled by passing in a name of the class implements Psr\Log\LoggerInterface.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user