Finish build docker
|  | @ -10,6 +10,27 @@ RUN apk add --no-cache \ | |||
|     zip \ | ||||
|     composer | ||||
| 
 | ||||
| # APACHE2 | ||||
| RUN apk add --no-cache \ | ||||
|     apache2 \ | ||||
|     apache2-utils \ | ||||
|     apache2-ssl \ | ||||
|     build-base \ | ||||
|     autoconf \ | ||||
|     curl \ | ||||
|     tar \ | ||||
|     libtool \ | ||||
|     pcre-dev \ | ||||
|     libxml2-dev \ | ||||
|     openssl \ | ||||
|     bison \ | ||||
|     re2c \ | ||||
|     file \ | ||||
|     libressl-dev | ||||
| # config httpd.conf | ||||
| RUN sed -i '/LoadModule rewrite_module/s/^#//g' /etc/apache2/httpd.conf | ||||
| 
 | ||||
| # Install PHP and extenions | ||||
| RUN apk add --no-cache \ | ||||
|     php81-common \ | ||||
|     php81-zip \ | ||||
|  | @ -34,10 +55,17 @@ RUN apk add --no-cache \ | |||
|     php81-sockets \ | ||||
|     php81-xml \ | ||||
|     php81-xmlwriter \ | ||||
|     php81-session | ||||
|     php81-session \ | ||||
|     php81-apache2 | ||||
| # config php.ini | ||||
| RUN sed -i 's/memory_limit = 128M/memory_limit = -1/' /etc/php81/php.ini | ||||
| 
 | ||||
| # Working file | ||||
| WORKDIR /var/www/html | ||||
| 
 | ||||
| # Composer | ||||
| RUN composer install | ||||
| 
 | ||||
| COPY ./docker-entrypoint.sh /docker-entrypoint.sh | ||||
| RUN chmod +x /docker-entrypoint.sh | ||||
| 
 | ||||
| WORKDIR /root/magento2 | ||||
| ENTRYPOINT ["/docker-entrypoint.sh"] | ||||
|  |  | |||
|  | @ -0,0 +1,8 @@ | |||
| <VirtualHost *:80> | ||||
|     DocumentRoot "/var/www/html" | ||||
|     <Directory "/var/www/html"> | ||||
|         Options Indexes FollowSymLinks | ||||
|         AllowOverride All | ||||
|         Require all granted | ||||
|     </Directory> | ||||
| </VirtualHost> | ||||
|  | @ -1,18 +1,18 @@ | |||
| <?php | ||||
| return [ | ||||
|     'backend' => [ | ||||
|         'frontName' => 'admin_1hea8y' | ||||
|         'frontName' => 'admin_1gvvti' | ||||
|     ], | ||||
|     'cache' => [ | ||||
|         'graphql' => [ | ||||
|             'id_salt' => 'iGJvNgD34aZK2294b6y71X3lAQBMxxFu' | ||||
|             'id_salt' => 'WHSwq0cP7eDaC3QpBrsmRjCdGejTKl8c' | ||||
|         ], | ||||
|         'frontend' => [ | ||||
|             'default' => [ | ||||
|                 'id_prefix' => '538_' | ||||
|                 'id_prefix' => '69d_' | ||||
|             ], | ||||
|             'page_cache' => [ | ||||
|                 'id_prefix' => '538_' | ||||
|                 'id_prefix' => '69d_' | ||||
|             ] | ||||
|         ], | ||||
|         'allow_parallel_generation' => false | ||||
|  | @ -24,7 +24,7 @@ return [ | |||
|         'consumers_wait_for_messages' => 1 | ||||
|     ], | ||||
|     'crypt' => [ | ||||
|         'key' => 'dbaca52abff89944c1a1a1052c1b1317' | ||||
|         'key' => 'f1ec5abba5c959e4b6530aab6e1b55de' | ||||
|     ], | ||||
|     'db' => [ | ||||
|         'table_prefix' => '', | ||||
|  | @ -80,6 +80,6 @@ return [ | |||
|         'localhost' | ||||
|     ], | ||||
|     'install' => [ | ||||
|         'date' => 'Thu, 02 Nov 2023 09:43:14 +0000' | ||||
|         'date' => 'Fri, 03 Nov 2023 08:15:42 +0000' | ||||
|     ] | ||||
| ]; | ||||
|  |  | |||
|  | @ -0,0 +1,85 @@ | |||
| <?php | ||||
| return [ | ||||
|     'backend' => [ | ||||
|         'frontName' => 'admin_1hea8y' | ||||
|     ], | ||||
|     'cache' => [ | ||||
|         'graphql' => [ | ||||
|             'id_salt' => 'iGJvNgD34aZK2294b6y71X3lAQBMxxFu' | ||||
|         ], | ||||
|         'frontend' => [ | ||||
|             'default' => [ | ||||
|                 'id_prefix' => '538_' | ||||
|             ], | ||||
|             'page_cache' => [ | ||||
|                 'id_prefix' => '538_' | ||||
|             ] | ||||
|         ], | ||||
|         'allow_parallel_generation' => false | ||||
|     ], | ||||
|     'remote_storage' => [ | ||||
|         'driver' => 'file' | ||||
|     ], | ||||
|     'queue' => [ | ||||
|         'consumers_wait_for_messages' => 1 | ||||
|     ], | ||||
|     'crypt' => [ | ||||
|         'key' => 'dbaca52abff89944c1a1a1052c1b1317' | ||||
|     ], | ||||
|     'db' => [ | ||||
|         'table_prefix' => '', | ||||
|         'connection' => [ | ||||
|             'default' => [ | ||||
|                 'host' => 'mysql', | ||||
|                 'dbname' => 'magento', | ||||
|                 'username' => 'magento', | ||||
|                 'password' => 'secret', | ||||
|                 'model' => 'mysql4', | ||||
|                 'engine' => 'innodb', | ||||
|                 'initStatements' => 'SET NAMES utf8;', | ||||
|                 'active' => '1', | ||||
|                 'driver_options' => [ | ||||
|                     1014 => false | ||||
|                 ] | ||||
|             ] | ||||
|         ] | ||||
|     ], | ||||
|     'resource' => [ | ||||
|         'default_setup' => [ | ||||
|             'connection' => 'default' | ||||
|         ] | ||||
|     ], | ||||
|     'x-frame-options' => 'SAMEORIGIN', | ||||
|     'MAGE_MODE' => 'default', | ||||
|     'session' => [ | ||||
|         'save' => 'files' | ||||
|     ], | ||||
|     'lock' => [ | ||||
|         'provider' => 'db' | ||||
|     ], | ||||
|     'directories' => [ | ||||
|         'document_root_is_pub' => true | ||||
|     ], | ||||
|     'cache_types' => [ | ||||
|         'config' => 1, | ||||
|         'layout' => 1, | ||||
|         'block_html' => 1, | ||||
|         'collections' => 1, | ||||
|         'reflection' => 1, | ||||
|         'db_ddl' => 1, | ||||
|         'compiled_config' => 1, | ||||
|         'eav' => 1, | ||||
|         'customer_notification' => 1, | ||||
|         'config_integration' => 1, | ||||
|         'config_integration_api' => 1, | ||||
|         'full_page' => 1, | ||||
|         'config_webservice' => 1, | ||||
|         'translate' => 1 | ||||
|     ], | ||||
|     'downloadable_domains' => [ | ||||
|         'localhost' | ||||
|     ], | ||||
|     'install' => [ | ||||
|         'date' => 'Thu, 02 Nov 2023 09:43:14 +0000' | ||||
|     ] | ||||
| ]; | ||||
							
								
								
									
										0
									
								
								dev/tests/acceptance/tests/_data/COLUMNS_Desktop_background_100x100px.png
								
								
								
								
									
									
									Normal file → Executable file
								
							
							
						
						| Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB | 
							
								
								
									
										0
									
								
								dev/tests/acceptance/tests/_data/COLUMNS_Mobile_background_100x100px.png
								
								
								
								
									
									
									Normal file → Executable file
								
							
							
						
						| Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB | 
							
								
								
									
										0
									
								
								dev/tests/acceptance/tests/_data/COLUMN_1_Desktop_background_100x100px.png
								
								
								
								
									
									
									Normal file → Executable file
								
							
							
						
						| Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB | 
							
								
								
									
										0
									
								
								dev/tests/acceptance/tests/_data/COLUMN_2_Mobile_background_100x100px.png
								
								
								
								
									
									
									Normal file → Executable file
								
							
							
						
						| Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB | 
| Before Width: | Height: | Size: 2.3 MiB After Width: | Height: | Size: 2.3 MiB | 
| Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB | 
| Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB | 
| Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB | 
| Before Width: | Height: | Size: 5.8 KiB After Width: | Height: | Size: 5.8 KiB | 
| Before Width: | Height: | Size: 1.7 MiB After Width: | Height: | Size: 1.7 MiB | 
							
								
								
									
										0
									
								
								dev/tests/acceptance/tests/_data/catalog_import_products_url_rewrite.csv
								
								
								
								
									
									
									Normal file → Executable file
								
							
							
						
						
							
								
								
									
										0
									
								
								dev/tests/acceptance/tests/_data/export_import_configurable_product.csv
								
								
								
								
									
									
									Normal file → Executable file
								
							
							
						
						| Before Width: | Height: | Size: 218 KiB After Width: | Height: | Size: 218 KiB | 
| Before Width: | Height: | Size: 169 KiB After Width: | Height: | Size: 169 KiB | 
							
								
								
									
										0
									
								
								dev/tests/acceptance/tests/_data/import_configurable_product_same_images.csv
								
								
								
								
									
									
									Normal file → Executable file
								
							
							
						
						
							
								
								
									
										0
									
								
								dev/tests/acceptance/tests/_data/import_downloadable_product_file_links.csv
								
								
								
								
									
									
									Normal file → Executable file
								
							
							
						
						
							
								
								
									
										0
									
								
								dev/tests/acceptance/tests/_data/import_downloadable_product_url_links.csv
								
								
								
								
									
									
									Normal file → Executable file
								
							
							
						
						
							
								
								
									
										0
									
								
								dev/tests/acceptance/tests/_data/import_simple_product_with_image.csv
								
								
								
								
									
									
									Normal file → Executable file
								
							
							
						
						
							
								
								
									
										0
									
								
								dev/tests/acceptance/tests/_data/import_simple_product_with_image_long_name.csv
								
								
								
								
									
									
									Normal file → Executable file
								
							
							
						
						| Before Width: | Height: | Size: 49 KiB After Width: | Height: | Size: 49 KiB | 
| Before Width: | Height: | Size: 13 MiB After Width: | Height: | Size: 13 MiB | 
| Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB | 
| Before Width: | Height: | Size: 9.7 KiB After Width: | Height: | Size: 9.7 KiB | 
| Before Width: | Height: | Size: 53 KiB After Width: | Height: | Size: 53 KiB | 
| Before Width: | Height: | Size: 8.2 KiB After Width: | Height: | Size: 8.2 KiB | 
| Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.8 KiB | 
| Before Width: | Height: | Size: 53 KiB After Width: | Height: | Size: 53 KiB | 
| Before Width: | Height: | Size: 71 KiB After Width: | Height: | Size: 71 KiB | 
| Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB | 
| Before Width: | Height: | Size: 120 KiB After Width: | Height: | Size: 120 KiB | 
| Before Width: | Height: | Size: 947 KiB After Width: | Height: | Size: 947 KiB | 
| Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB | 
| Before Width: | Height: | Size: 964 B After Width: | Height: | Size: 964 B | 
| Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB | 
| Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 54 KiB |