LocalConfiguration.php 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. <?php
  2. // Read the .env file and add its values to globals:
  3. $dotenv = Dotenv\Dotenv::createImmutable(__DIR__);
  4. // You cannot use getenv() to request the variables from .env file because getenv() is unsafe!
  5. // If you have to use getenv() replace the above 'initializer' with:
  6. // $dotenv = Dotenv\Dotenv::createMutable(__DIR__);
  7. $dotenv->safeLoad();
  8. return [
  9. 'BE' => [
  10. 'debug' => false,
  11. 'explicitADmode' => 'explicitAllow',
  12. 'installToolPassword' => '$argon2i$v=19$m=65536,t=16,p=1$dkhoTUouM3V0OUUySTBldQ$YwvvC9JLfXUCNmoMrL4eDQptv/LNTt1g/wUpVjIxCwk',
  13. 'loginSecurityLevel' => 'normal',
  14. 'passwordHashing' => [
  15. 'className' => 'TYPO3\\CMS\\Core\\Crypto\\PasswordHashing\\Argon2iPasswordHash',
  16. 'options' => [],
  17. ],
  18. 'lockSSL' => '0',
  19. 'cookieSecure' => '0',
  20. ],
  21. 'DB' => [
  22. 'Connections' => [
  23. 'Default' => [
  24. 'charset' => 'utf8mb4',
  25. 'dbname' => $_ENV['BE_DATABASE'],
  26. 'driver' => 'mysqli',
  27. 'host' => $_ENV['BE_DATABASE_HOST'],
  28. 'password' => $_ENV['BE_DATABASE_PASSWORD'],
  29. 'port' => 3306,
  30. 'tableoptions' => [
  31. 'charset' => 'utf8mb4',
  32. 'collate' => 'utf8mb4_unicode_ci',
  33. ],
  34. 'user' => $_ENV['BE_DATABASE_USER'],
  35. ],
  36. ],
  37. ],
  38. 'EXTCONF' => [
  39. 'helhum-typo3-console' => [
  40. 'initialUpgradeDone' => '10.4',
  41. ],
  42. ],
  43. 'EXTENSIONS' => [
  44. 'aus_driver_amazon_s3' => [
  45. 'dnsPrefetch' => '1',
  46. 'doNotLoadAmazonLib' => '0',
  47. 'enablePermissionsCheck' => '0',
  48. ],
  49. 'backend' => [
  50. 'backendFavicon' => '',
  51. 'backendLogo' => '',
  52. 'loginBackgroundImage' => '',
  53. 'loginFootnote' => '',
  54. 'loginHighlightColor' => '',
  55. 'loginLogo' => '',
  56. ],
  57. 'extensionmanager' => [
  58. 'automaticInstallation' => '1',
  59. 'offlineMode' => '0',
  60. ],
  61. 'nnhelpers' => [
  62. 'clearAllCaches' => '0',
  63. 'deeplApiKey' => $_ENV['DEEPL_API_KEY'],
  64. 'deeplApiUrl' => 'https://api-free.deepl.com/v2/translate',
  65. 'devModeEnabled' => '0',
  66. 'googleGeoApiKey' => '',
  67. 'saltingKey' => 'WyJlYnlWKzdTVGVHYytOcHhubXlLc0lEZHFjWUtBUCs5dzVyUkVVVWxuXC9pQT0iLCIyZXhMSHB2V0lXMHNSRTRPRGNWeVRWQzQ1bHljV21vMEkreGJYM2xVNExENll4TEt3OTlFcEFQSXd0MjN0aDduTFwvb1Foc0Z1WDZSMkFJTnI5MmhERGc9PSJd',
  68. 'showMod' => '1',
  69. ],
  70. 'nnrestapi' => [
  71. 'apiKeys' => $_ENV['API_KEYS'],
  72. 'disableDefaultEndpoints' => '0',
  73. 'disablePreCheck' => '1',
  74. 'maxSessionLifetime' => '3600',
  75. ],
  76. 'scheduler' => [
  77. 'maxLifetime' => '1440',
  78. 'showSampleTasks' => '1',
  79. ],
  80. ],
  81. 'FE' => [
  82. 'debug' => false,
  83. 'disableFrontend' => '1',
  84. 'disableNoCacheParameter' => true,
  85. 'passwordHashing' => [
  86. 'className' => 'TYPO3\\CMS\\Core\\Crypto\\PasswordHashing\\Argon2iPasswordHash',
  87. 'options' => [],
  88. ],
  89. ],
  90. 'GFX' => [
  91. 'processor' => 'ImageMagick',
  92. 'processor_allowTemporaryMasksAsPng' => false,
  93. 'processor_colorspace' => 'RGB',
  94. 'processor_effects' => false,
  95. 'processor_enabled' => true,
  96. 'processor_path' => '/usr/bin/',
  97. 'processor_path_lzw' => '/usr/bin/',
  98. ],
  99. 'LOG' => [
  100. 'TYPO3' => [
  101. 'CMS' => [
  102. 'deprecations' => [
  103. 'writerConfiguration' => [
  104. 'notice' => [
  105. 'TYPO3\CMS\Core\Log\Writer\FileWriter' => [
  106. 'disabled' => true,
  107. ],
  108. ],
  109. ],
  110. ],
  111. ],
  112. ],
  113. ],
  114. 'MAIL' => [
  115. 'transport' => 'sendmail',
  116. 'transport_sendmail_command' => '/usr/local/bin/mailhog sendmail test@example.org --smtp-addr 127.0.0.1:1025',
  117. 'transport_smtp_encrypt' => '',
  118. 'transport_smtp_password' => '',
  119. 'transport_smtp_server' => '',
  120. 'transport_smtp_username' => '',
  121. ],
  122. 'MRM' => [
  123. 'dkz' => [
  124. 'layer' => $_ENV['DKZ_LAYER'],
  125. 'pwd' => $_ENV['DKZ_PASSWORD'],
  126. 'url' => $_ENV['DKZ_URL'],
  127. 'usr' => $_ENV['DKZ_USER'],
  128. ],
  129. ],
  130. 'SYS' => [
  131. 'caching' => [
  132. 'cacheConfigurations' => [
  133. 'hash' => [
  134. 'backend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\Typo3DatabaseBackend',
  135. ],
  136. 'imagesizes' => [
  137. 'backend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\Typo3DatabaseBackend',
  138. 'options' => [
  139. 'compression' => true,
  140. ],
  141. ],
  142. 'pages' => [
  143. 'backend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\Typo3DatabaseBackend',
  144. 'options' => [
  145. 'compression' => true,
  146. ],
  147. ],
  148. 'pagesection' => [
  149. 'backend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\Typo3DatabaseBackend',
  150. 'options' => [
  151. 'compression' => true,
  152. ],
  153. ],
  154. 'rootline' => [
  155. 'backend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\Typo3DatabaseBackend',
  156. 'options' => [
  157. 'compression' => true,
  158. ],
  159. ],
  160. ],
  161. ],
  162. 'devIPmask' => '',
  163. 'displayErrors' => 0,
  164. 'encryptionKey' => '08ee39fc5214275f98470b111b1f7cf375166362a3b4ea77d3d40d3cc2ba6d158c2f72ab9ff6a33640dda114f89c42f6',
  165. 'exceptionalErrors' => 4096,
  166. 'features' => [
  167. 'felogin.extbase' => true,
  168. 'fluidBasedPageModule' => true,
  169. 'rearrangedRedirectMiddlewares' => true,
  170. 'security.backend.enforceReferrer' => false,
  171. 'unifiedPageTranslationHandling' => true,
  172. 'yamlImportsFollowDeclarationOrder' => true,
  173. ],
  174. 'reverseProxyIP' => '*',
  175. 'reverseProxySSL' => '*',
  176. 'reverseProxyHeaderMultiValue' => 'first',
  177. 'sitename' => 'abi2021',
  178. 'systemMaintainers' => [
  179. 1,
  180. ],
  181. 'trustedHostsPattern' => '(.*\.meramo\.org|.*\.abi\.de)',
  182. ],
  183. ];