ソースを参照

add the docker directory

Olivier Massot 5 年 前
コミット
9f4b9c9ab8
3 ファイル変更203 行追加14 行削除
  1. 4 3
      README.md
  2. 180 0
      docker/LocalConfiguration.php
  3. 19 11
      docker/composer.json

+ 4 - 3
README.md

@@ -17,9 +17,10 @@ du répertoire de l'application typo3
 
     	"autoload": {
     		"psr-4": {
-    			"Opentalent\\OtConnect\\": "public/typo3conf/ext/ot_connect/Classes",
-    			"Opentalent\\OtTemplating\\": "public/typo3conf/ext/ot_templating/Classes"
-    			"Opentalent\\OtOptimizer\\": "public/typo3conf/ext/ot_optimizer/Classes"
+                "Opentalent\\OtWidgets\\": "public/typo3conf/ext/ot_widgets/Classes",
+                "Opentalent\\OtConnect\\": "public/typo3conf/ext/ot_connect/Classes",
+                "Opentalent\\OtTemplating\\": "public/typo3conf/ext/ot_templating/Classes",
+                "Opentalent\\OtAdmin\\": "public/typo3conf/ext/ot_admin/Classes"
     		}
     	}
 

+ 180 - 0
docker/LocalConfiguration.php

@@ -0,0 +1,180 @@
+<?php
+return [
+    'BE' => [
+        'compressionLevel' => '7',
+        'debug' => false,
+        'enabledBeUserIPLock' => false,
+        'installToolPassword' => '$pbkdf2-sha256$25000$.PqaJ4/ltOEEgzkLb8qejA$7sU6uclI0hzXLbMNvpD7zFYeUuP9EsMZj/c5BmQXjVg',
+        'interfaces' => 'backend',
+        'lockIP' => '0',
+        'loginSecurityLevel' => 'normal',
+        'passwordHashing' => [
+            'className' => 'TYPO3\\CMS\\Core\\Crypto\\PasswordHashing\\Argon2iPasswordHash',
+            'options' => [],
+        ],
+        'sessionTimeout' => '65000',
+        'showRefreshLoginPopup' => true,
+        'versionNumberInFilename' => '0',
+    ],
+    'DB' => [
+        'Connections' => [
+            'Default' => [
+                'charset' => 'utf8',
+                'dbname' => 'typo3',
+                'driver' => 'mysqli',
+                'host' => 'db',
+                'initCommands' => '',
+                'password' => 'mysql660',
+                'user' => 'root',
+            ],
+        ],
+        'extTablesDefinitionScript' => 'extTables.php',
+    ],
+    'EXT' => [
+        'extConf' => [
+            'backend' => 'a:6:{s:9:"loginLogo";s:0:"";s:19:"loginHighlightColor";s:0:"";s:20:"loginBackgroundImage";s:0:"";s:13:"loginFootnote";s:0:"";s:11:"backendLogo";s:0:"";s:14:"backendFavicon";s:0:"";}',
+            'extensionmanager' => 'a:2:{s:21:"automaticInstallation";s:1:"1";s:11:"offlineMode";s:1:"0";}',
+            'flux' => 'a:7:{s:9:"debugMode";s:1:"0";s:8:"doktypes";s:5:"0,1,4";s:12:"handleErrors";s:1:"0";s:8:"autoload";s:1:"1";s:11:"plugAndPlay";s:1:"0";s:20:"plugAndPlayDirectory";s:6:"design";s:33:"pagesLanguageConfigurationOverlay";s:1:"0";}',
+            'frontend_editing' => 'a:3:{s:11:"seoProvider";s:4:"none";s:29:"contentEditableWrapperTagName";s:3:"div";s:18:"enablePlaceholders";s:1:"0";}',
+            'news' => 'a:18:{s:13:"prependAtCopy";s:1:"1";s:6:"tagPid";s:1:"1";s:12:"rteForTeaser";s:1:"0";s:22:"contentElementRelation";s:1:"1";s:21:"contentElementPreview";s:1:"1";s:13:"manualSorting";s:1:"0";s:19:"categoryRestriction";s:0:"";s:34:"categoryBeGroupTceFormsRestriction";s:1:"0";s:19:"dateTimeNotRequired";s:1:"0";s:11:"archiveDate";s:4:"date";s:12:"mediaPreview";s:5:"false";s:20:"advancedMediaPreview";s:4:"true";s:13:"slugBehaviour";s:6:"unique";s:24:"showAdministrationModule";s:1:"1";s:35:"hidePageTreeForAdministrationModule";s:1:"0";s:12:"showImporter";s:1:"0";s:18:"storageUidImporter";s:1:"1";s:22:"resourceFolderImporter";s:12:"/news_import";}',
+            'scheduler' => 'a:2:{s:11:"maxLifetime";s:4:"1440";s:15:"showSampleTasks";s:1:"1";}',
+            'vhs' => 'a:1:{s:20:"disableAssetHandling";s:1:"0";}',
+        ],
+    ],
+    'EXTCONF' => [
+        'lang' => [
+            'availableLanguages' => [
+                'fr',
+            ],
+        ],
+    ],
+    'EXTENSIONS' => [
+        'backend' => [
+            'backendFavicon' => '',
+            'backendLogo' => '',
+            'loginBackgroundImage' => '',
+            'loginFootnote' => '',
+            'loginHighlightColor' => '',
+            'loginLogo' => '',
+        ],
+        'extensionmanager' => [
+            'automaticInstallation' => '1',
+            'offlineMode' => '0',
+        ],
+        'flux' => [
+            'autoload' => '1',
+            'debugMode' => '0',
+            'doktypes' => '0,1,4',
+            'handleErrors' => '0',
+            'pagesLanguageConfigurationOverlay' => '0',
+            'plugAndPlay' => '0',
+            'plugAndPlayDirectory' => 'design',
+        ],
+        'frontend_editing' => [
+            'contentEditableWrapperTagName' => 'div',
+            'enablePlaceholders' => '0',
+            'seoProvider' => 'none',
+        ],
+        'news' => [
+            'advancedMediaPreview' => 'true',
+            'archiveDate' => 'date',
+            'categoryBeGroupTceFormsRestriction' => '0',
+            'categoryRestriction' => '',
+            'contentElementPreview' => '1',
+            'contentElementRelation' => '1',
+            'dateTimeNotRequired' => '0',
+            'hidePageTreeForAdministrationModule' => '0',
+            'manualSorting' => '0',
+            'mediaPreview' => 'false',
+            'prependAtCopy' => '1',
+            'resourceFolderImporter' => '/news_import',
+            'rteForTeaser' => '0',
+            'showAdministrationModule' => '1',
+            'showImporter' => '0',
+            'slugBehaviour' => 'unique',
+            'storageUidImporter' => '1',
+            'tagPid' => '1',
+        ],
+        'scheduler' => [
+            'maxLifetime' => '1440',
+            'showSampleTasks' => '1',
+        ],
+        'vhs' => [
+            'disableAssetHandling' => '0',
+        ],
+    ],
+    'FE' => [
+        'compressionLevel' => 7,
+        'debug' => false,
+        'disableNoCacheParameter' => '0',
+        'pageNotFoundOnCHashError' => '0',
+        'passwordHashing' => [
+            'className' => 'TYPO3\\CMS\\Core\\Crypto\\PasswordHashing\\Argon2iPasswordHash',
+            'options' => [],
+        ],
+    ],
+    'GFX' => [
+        'jpg_quality' => '96',
+        'processor' => 'GraphicsMagick',
+        'processor_allowTemporaryMasksAsPng' => false,
+        'processor_colorspace' => 'RGB',
+        'processor_effects' => false,
+        'processor_enabled' => true,
+        'processor_path' => '/usr/bin/',
+        'processor_path_lzw' => '/usr/bin/',
+    ],
+    'HTTP' => [],
+    'INSTALL' => [],
+    'LOG' => [
+        'TYPO3' => [
+            'CMS' => [
+                'deprecations' => [
+                    'writerConfiguration' => [
+                        5 => [
+                            'TYPO3\CMS\Core\Log\Writer\FileWriter' => [
+                                'disabled' => true,
+                            ],
+                        ],
+                    ],
+                ],
+            ],
+        ],
+    ],
+    'MAIL' => [
+        'defaultMailFromAddress' => 'ne_pas_repondre@opentalent.fr',
+        'transport' => 'sendmail',
+        'transport_sendmail_command' => ' -t -i ',
+        'transport_smtp_encrypt' => '',
+        'transport_smtp_password' => '',
+        'transport_smtp_server' => '',
+        'transport_smtp_username' => '',
+    ],
+    'SYS' => [
+        'UTF8filesystem' => '1',
+        'belogErrorReporting' => 30711,
+        'caching' => [
+            'cacheConfigurations' => [
+                'extbase_object' => [
+                    'backend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\ApcBackend',
+                    'frontend' => 'TYPO3\\CMS\\Core\\Cache\\Frontend\\VariableFrontend',
+                    'groups' => [
+                        'system',
+                    ],
+                    'options' => [
+                        'defaultLifetime' => 0,
+                    ],
+                ],
+            ],
+        ],
+        'cookieDomain' => 'opentalent.fr',
+        'devIPmask' => '',
+        'displayErrors' => 0,
+        'encryptionKey' => 'ed7ad07c97e4703bd18aaad78071be42',
+        'exceptionalErrors' => 4096,
+        'fileCreateMask' => '2660',
+        'folderCreateMask' => '2770',
+        'sitename' => 'Opentalent',
+        'systemLocale' => 'fr_FR.UTF-8',
+        'systemLogLevel' => 2,
+    ],
+];

+ 19 - 11
composer.json → docker/composer.json

@@ -7,37 +7,44 @@
 	"license": "GPL-2.0-or-later",
 	"config": {
 		"platform": {
-			"php": "7.2"
+			"php": "7.4"
 		}
 	},
 	"require": {
-		"helhum/typo3-console": "^5.7",
-		"typo3/minimal": "^9.5",
 		"typo3/cms-about": "^9.5",
 		"typo3/cms-adminpanel": "^9.5",
+		"typo3/cms-backend": "^9.5",
 		"typo3/cms-belog": "^9.5",
 		"typo3/cms-beuser": "^9.5",
+		"typo3/cms-core": "^9.5",
+		"typo3/cms-extbase": "^9.5",
+		"typo3/cms-extensionmanager": "^9.5",
 		"typo3/cms-felogin": "^9.5",
+		"typo3/cms-filelist": "^9.5",
+		"typo3/cms-filemetadata": "^9.5",
+		"typo3/cms-fluid": "^9.5",
 		"typo3/cms-fluid-styled-content": "^9.5",
 		"typo3/cms-form": "^9.5",
-		"typo3/cms-impexp": "^9.5",
+		"typo3/cms-frontend": "^9.5",
 		"typo3/cms-info": "^9.5",
+		"typo3/cms-install": "^9.5",
+		"typo3/cms-lowlevel": "^9.5",
+		"typo3/cms-recycler": "^9.5",
 		"typo3/cms-redirects": "^9.5",
 		"typo3/cms-reports": "^9.5",
 		"typo3/cms-rte-ckeditor": "^9.5",
-		"typo3/cms-setup": "^9.5",
+		"typo3/cms-scheduler": "^9.5",
 		"typo3/cms-seo": "^9.5",
-		"typo3/cms-sys-note": "^9.5",
+		"typo3/cms-setup": "^9.5",
 		"typo3/cms-t3editor": "^9.5",
 		"typo3/cms-tstemplate": "^9.5",
-		"typo3/cms-viewpage": "^9.5",
-		"typo3/cms-lowlevel": "^9.5",
 		"fluidtypo3/flux": "^9.4",
 		"fluidtypo3/vhs": "^6.0",
 		"georgringer/news": "^8.3",
+		"helhum/typo3-console": "^5.7",
 		"guzzlehttp/guzzle": "^6",
-		"ext-json": "^1.6",
-      	"ext-pdo": "*"
+		"friendsoftypo3/frontend-editing": "^1.9",
+		"sgalinski/lfeditor": "^6.0"
     },
 	"scripts":{
 		"typo3-cms-scripts": [
@@ -52,7 +59,8 @@
 		"psr-4": {
 			"Opentalent\\OtWidgets\\": "public/typo3conf/ext/ot_widgets/Classes",
 			"Opentalent\\OtConnect\\": "public/typo3conf/ext/ot_connect/Classes",
-			"Opentalent\\OtTemplating\\": "public/typo3conf/ext/ot_templating/Classes"
+			"Opentalent\\OtTemplating\\": "public/typo3conf/ext/ot_templating/Classes",
+			"Opentalent\\OtAdmin\\": "public/typo3conf/ext/ot_admin/Classes"
 		}
 	}
 }