Commit df19c4e4 authored by Stefan Busemann's avatar Stefan Busemann

Merge branch 'task/update-configuration-files' into 'develop'

Update configuration files

See merge request services/extensions.typo3.org/ter!634
parents d4925c10 81d262e2
Pipeline #10261 passed with stages
in 11 minutes and 59 seconds
<?php
/**
* This file is part of the TYPO3 CMS project.
*
* It is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License, either version 2
* of the License, or any later version.
*
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*
* The TYPO3 project - inspiring people to share!
*/
$GLOBALS['TYPO3_CONF_VARS']['SYS']['trustedHostsPattern'] = '.*';
$GLOBALS['TYPO3_CONF_VARS']['BE']['loginSecurityLevel'] = 'normal';
$GLOBALS['TYPO3_CONF_VARS']['BE']['installToolPassword'] = '$P$CZqeoYBTHC0kXKny4tpTvBSzzV5wVY0'; /* joh316 */
$GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS']['ter']['repositoryDir'] = '/var/www/html/private/fileadmin/ter/';
// Disable caches
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['cache_core']['backend'] = \TYPO3\CMS\Core\Cache\Backend\NullBackend::class;
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['cache_hash']['backend'] = \TYPO3\CMS\Core\Cache\Backend\NullBackend::class;
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['cache_pages']['backend'] = \TYPO3\CMS\Core\Cache\Backend\NullBackend::class;
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['cache_pagesection']['backend'] = \TYPO3\CMS\Core\Cache\Backend\NullBackend::class;
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['cache_phpcode']['backend'] = \TYPO3\CMS\Core\Cache\Backend\NullBackend::class;
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['cache_runtime']['backend'] = \TYPO3\CMS\Core\Cache\Backend\TransientMemoryBackend::class;
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['cache_rootline']['backend'] = \TYPO3\CMS\Core\Cache\Backend\NullBackend::class;
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['cache_imagesizes']['backend'] = \TYPO3\CMS\Core\Cache\Backend\NullBackend::class;
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['l10n']['backend'] = \TYPO3\CMS\Core\Cache\Backend\NullBackend::class;
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['extbase_object']['backend'] = \TYPO3\CMS\Core\Cache\Backend\NullBackend::class;
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['extbase_reflection']['backend'] = \TYPO3\CMS\Core\Cache\Backend\NullBackend::class;
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['extbase_datamapfactory_datamap']['backend'] = \TYPO3\CMS\Core\Cache\Backend\NullBackend::class;
if (getenv('IS_DDEV_PROJECT') === 'true') {
$GLOBALS['TYPO3_CONF_VARS'] = array_replace_recursive(
$GLOBALS['TYPO3_CONF_VARS'],
[
'BE' => [
'installToolPassword' => '$P$CZqeoYBTHC0kXKny4tpTvBSzzV5wVY0',
],
'DB' => [
'Connections' => [
'Default' => [
'dbname' => 'db',
'host' => 'db',
'password' => 'db',
'port' => '3306',
'user' => 'db',
],
],
],
// This GFX configuration allows processing by installed ImageMagick 6
'GFX' => [
'processor' => 'ImageMagick',
'processor_path' => '/usr/bin/',
'processor_path_lzw' => '/usr/bin/',
],
// This mail configuration sends all emails to mailhog
'MAIL' => [
'transport' => 'smtp',
'transport_smtp_server' => 'localhost:1025',
],
'SYS' => [
'trustedHostsPattern' => '.*.*',
'devIPmask' => '*',
'displayErrors' => 1,
],
'EXTENSIONS' => [
'ter' => [
'repositoryDir' => '/var/www/html/private/fileadmin/ter/'
],
'ig_ldap_sso_auth' => [
'enableFELDAPAuthentication' => '0'
]
]
]
);
}
// filefill
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['filefill']['storages'][1] = [
......@@ -37,11 +52,24 @@ $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['filefill']['storages'][1] = [
'identifier' => 'domain',
'configuration' => 'https://extensions.typo3.org/',
],
[
'identifier' => 'domain',
'configuration' => 'https://extensions.typo3.dev/',
],
[
'identifier' => 'placeholder',
],
];
// This mail configuration sends all emails to mailhog
$GLOBALS['TYPO3_CONF_VARS']['MAIL']['transport'] = 'smtp';
$GLOBALS['TYPO3_CONF_VARS']['MAIL']['transport_smtp_server'] = 'localhost:1025';
// Disable caches
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['assets']['backend'] = \TYPO3\CMS\Core\Cache\Backend\NullBackend::class;
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['core']['backend'] = \TYPO3\CMS\Core\Cache\Backend\NullBackend::class;
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['cache_hash']['backend'] = \TYPO3\CMS\Core\Cache\Backend\NullBackend::class;
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['cache_imagesizes']['backend'] = \TYPO3\CMS\Core\Cache\Backend\NullBackend::class;
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['cache_pages']['backend'] = \TYPO3\CMS\Core\Cache\Backend\NullBackend::class;
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['cache_pagesection']['backend'] = \TYPO3\CMS\Core\Cache\Backend\NullBackend::class;
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['cache_rootline']['backend'] = \TYPO3\CMS\Core\Cache\Backend\NullBackend::class;
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['extbase']['backend'] = \TYPO3\CMS\Core\Cache\Backend\NullBackend::class;
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['extbase_object']['backend'] = \TYPO3\CMS\Core\Cache\Backend\NullBackend::class;
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['l10n']['backend'] = \TYPO3\CMS\Core\Cache\Backend\NullBackend::class;
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['runtime']['backend'] = \TYPO3\CMS\Core\Cache\Backend\TransientMemoryBackend::class;
......@@ -10,12 +10,12 @@ return [
'Connections' => [
'Default' => [
'charset' => 'utf8',
'dbname' => getenv('DB_NAME'),
'dbname' => 'db',
'driver' => 'mysqli',
'host' => getenv('DB_HOST'),
'password' => getenv('DB_PASSWORD'),
'host' => 'db',
'password' => 'db',
'port' => 3306,
'user' => getenv('DB_USERNAME'),
'user' => 'db',
],
],
],
......@@ -73,6 +73,15 @@ return [
'maxLifetime' => '1440',
'showSampleTasks' => '1',
],
'sentry_client' => [
'activatePageNotFoundHandling' => '1',
'dsn' => '',
'messageBlacklistRegex' => '',
'release' => '',
'reportDatabaseConnectionErrors' => '0',
'reportUserInformation' => 'userid',
'showEventId' => '1',
],
'solr' => [
'allowLegacySiteMode' => '0',
'allowSelfSignedCertificates' => '0',
......@@ -88,38 +97,38 @@ return [
'repositoryDir' => '/var/www/html/private/fileadmin/ter/',
],
'ter_rest' => [
'abandonUser' => 'abandoned_extensions',
'apiPath' => '/api/',
'defaultLifetime' => '604800',
'extensionDownloadUrl' => 'https://extensions.typo3.org/extension/download/',
'extensionKeyPattern' => '^((?!(tx|user|pages|tt|sys|ts_language|csh))[a-z]{1}[a-z0-9_]+)$',
'extensionMaxUploadSize' => 31457280,
'extensionVersionFiles' => '.t3x,.gif,.png,.svg,_Distribution.png,_Distribution.svg,_DistributionWelcome.png,_DistributionWelcome.svg',
'jwtLatency' => '60',
'jwtSubject' => 't3o-ter-rest',
'randomLength' => '30',
'routing' => [
'routeArguments' => [
'String' => \T3o\TerRest\Routing\RouteArgument\StringArgument::class,
'Integer' => \T3o\TerRest\Routing\RouteArgument\IntegerArgument::class,
'Object' => \T3o\TerRest\Routing\RouteArgument\ObjectArgument::class,
'Array' => \T3o\TerRest\Routing\RouteArgument\ArrayArgument::class
],
'enableFeUserAuthentication' => true,
'formData' => [
'String' => \T3o\TerRest\Routing\FormData\StringData::class,
'Integer' => \T3o\TerRest\Routing\FormData\IntegerData::class,
'Boolean' => \T3o\TerRest\Routing\FormData\BooleanData::class,
'Binary' => \T3o\TerRest\Routing\FormData\BinaryData::class
'Binary' => 'T3o\\TerRest\\Routing\\FormData\\BinaryData',
'Boolean' => 'T3o\\TerRest\\Routing\\FormData\\BooleanData',
'Integer' => 'T3o\\TerRest\\Routing\\FormData\\IntegerData',
'String' => 'T3o\\TerRest\\Routing\\FormData\\StringData',
],
'responseTypes' => [
'*/*' => \TYPO3\CMS\Core\Http\JsonResponse::class,
'application/json' => \TYPO3\CMS\Core\Http\JsonResponse::class
'*/*' => 'TYPO3\\CMS\\Core\\Http\\JsonResponse',
'application/json' => 'TYPO3\\CMS\\Core\\Http\\JsonResponse',
],
'routeArguments' => [
'Array' => 'T3o\\TerRest\\Routing\\RouteArgument\\ArrayArgument',
'Integer' => 'T3o\\TerRest\\Routing\\RouteArgument\\IntegerArgument',
'Object' => 'T3o\\TerRest\\Routing\\RouteArgument\\ObjectArgument',
'String' => 'T3o\\TerRest\\Routing\\RouteArgument\\StringArgument',
],
'enableFeUserAuthentication' => true
],
'extensionVersionFiles' => '.t3x,.gif,.png,.svg,_Distribution.png,_Distribution.svg,_DistributionWelcome.png,_DistributionWelcome.svg',
'extensionMaxUploadSize' => 31457280,
'extensionKeyPattern' => '^((?!(tx|user|pages|tt|sys|ts_language|csh))[a-z]{1}[a-z0-9_]+)$',
'apiPath' => '/api/',
'schemaPath' => 'EXT:ter_rest/Resources/Private/Schema/',
'extensionDownloadUrl' => 'https://extensions.typo3.org/extension/download/',
'abandonUser' => 'abandoned_extensions',
'randomLength' => getenv('TER_REST_RANDOM_LENGTH'),
'defaultLifetime' => getenv('TER_REST_DEFAULT_LIFETIME'),
'jwtSubject' => getenv('TER_REST_JWT_SUBJECT'),
'jwtLatency' => getenv('TER_REST_JWT_LATENCY'),
'signatureIdentifier' => getenv('TER_REST_SIGNATURE_IDENTIFIER')
]
'signatureIdentifier' => 'ecdsa',
],
],
'FE' => [
'cacheHash' => [
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment