Repo for the search and displace ingest module that takes odf, docx and pdf and transforms it into .md to be used with search and displace operations
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

103 lines
3.0 KiB

  1. <?php
  2. use Illuminate\Support\Str;
  3. return [
  4. /*
  5. |--------------------------------------------------------------------------
  6. | Default Cache Store
  7. |--------------------------------------------------------------------------
  8. |
  9. | This option controls the default cache connection that gets used while
  10. | using this caching library. This connection is used when another is
  11. | not explicitly specified when executing a given caching function.
  12. |
  13. | Supported: "apc", "array", "database", "file",
  14. | "memcached", "redis", "dynamodb"
  15. |
  16. */
  17. 'default' => env('CACHE_DRIVER', 'file'),
  18. /*
  19. |--------------------------------------------------------------------------
  20. | Cache Stores
  21. |--------------------------------------------------------------------------
  22. |
  23. | Here you may define all of the cache "stores" for your application as
  24. | well as their drivers. You may even define multiple stores for the
  25. | same cache driver to group types of items stored in your caches.
  26. |
  27. */
  28. 'stores' => [
  29. 'apc' => [
  30. 'driver' => 'apc',
  31. ],
  32. 'array' => [
  33. 'driver' => 'array',
  34. ],
  35. 'database' => [
  36. 'driver' => 'database',
  37. 'table' => 'cache',
  38. 'connection' => null,
  39. ],
  40. 'file' => [
  41. 'driver' => 'file',
  42. 'path' => storage_path('framework/cache/data'),
  43. ],
  44. 'memcached' => [
  45. 'driver' => 'memcached',
  46. 'persistent_id' => env('MEMCACHED_PERSISTENT_ID'),
  47. 'sasl' => [
  48. env('MEMCACHED_USERNAME'),
  49. env('MEMCACHED_PASSWORD'),
  50. ],
  51. 'options' => [
  52. // Memcached::OPT_CONNECT_TIMEOUT => 2000,
  53. ],
  54. 'servers' => [
  55. [
  56. 'host' => env('MEMCACHED_HOST', '127.0.0.1'),
  57. 'port' => env('MEMCACHED_PORT', 11211),
  58. 'weight' => 100,
  59. ],
  60. ],
  61. ],
  62. 'redis' => [
  63. 'driver' => 'redis',
  64. 'connection' => 'cache',
  65. ],
  66. 'dynamodb' => [
  67. 'driver' => 'dynamodb',
  68. 'key' => env('AWS_ACCESS_KEY_ID'),
  69. 'secret' => env('AWS_SECRET_ACCESS_KEY'),
  70. 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
  71. 'table' => env('DYNAMODB_CACHE_TABLE', 'cache'),
  72. 'endpoint' => env('DYNAMODB_ENDPOINT'),
  73. ],
  74. ],
  75. /*
  76. |--------------------------------------------------------------------------
  77. | Cache Key Prefix
  78. |--------------------------------------------------------------------------
  79. |
  80. | When utilizing a RAM based store such as APC or Memcached, there might
  81. | be other applications utilizing the same cache. So, we'll specify a
  82. | value to get prefixed to all our keys so we can avoid collisions.
  83. |
  84. */
  85. 'prefix' => env('CACHE_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_cache'),
  86. ];