فهرست منبع

Added elasticsearch support

Mark Shust 6 سال پیش
والد
کامیت
d968ed0a27
5فایلهای تغییر یافته به همراه28 افزوده شده و 5 حذف شده
  1. 6 1
      CHANGELOG.md
  2. 1 1
      README.md
  3. 7 1
      compose/magento-1/docker-compose.yml
  4. 7 1
      compose/magento-2-windows/docker-compose.yml
  5. 7 1
      compose/magento-2/docker-compose.yml

+ 6 - 1
CHANGELOG.md

@@ -6,7 +6,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
 
 ## [Unreleased]
 
-- New PHP 7.2 image is now available on the dev tag. Please report any issues.
+- N/A
+
+## [20.1.0] - 2018-12-03
+
+### Added
+- Official support for Elasticsearch. Go to Admin > Stores > Configuration > Catalog > Catalog > Catalog Search, and select "Elasticsarch 5.0+" from the list of options. Keep all defaults the same, but set Elasticsearch Server Hostname to `elasticsearch`. Save, clear the cache, and run `bin/magento indexer:reindex` to enable.
 
 ## [20.0.0] - 2018-11-27
 

+ 1 - 1
README.md

@@ -219,7 +219,7 @@ The following scripts are meant to run with Powershell. Note that the execution
 
 ### Database
 
-- The hostname of each service is the name of the service within the `docker-compose.yml` file. So for example, MySQL's hostname is `db` (not `localhost`) when accessing it from within a Docker container.
+- The hostname of each service is the name of the service within the `docker-compose.yml` file. So for example, MySQL's hostname is `db` (not `localhost`) when accessing it from within a Docker container. Elasticsearch's hostname is `elasticsearch`.
 
 ### Composer Authentication
 

+ 7 - 1
compose/magento-1/docker-compose.yml

@@ -1,5 +1,5 @@
 # Mark Shust's Docker Configuration for Magento (https://github.com/markoshust/docker-magento)
-# Version 20.0.0
+# Version 20.1.0
 
 version: "3"
 
@@ -45,6 +45,12 @@ services:
     volumes:
       - dbdata:/var/lib/mysql
 
+  elasticsearch:
+    image: elasticsearch:5.6
+    ports:
+      - "9200:9200"
+      - "9300:9300"
+
 volumes:
   appdata:
   dbdata:

+ 7 - 1
compose/magento-2-windows/docker-compose.yml

@@ -1,5 +1,5 @@
 # Mark Shust's Docker Configuration for Magento (https://github.com/markoshust/docker-magento)
-# Version 19.0.0
+# Version 20.1.0
 
 version: "3"
 
@@ -52,6 +52,12 @@ services:
     volumes:
       - dbdata:/var/lib/mysql
 
+  elasticsearch:
+    image: elasticsearch:5.6
+    ports:
+      - "9200:9200"
+      - "9300:9300"
+
 volumes:
   appdata:
   dbdata:

+ 7 - 1
compose/magento-2/docker-compose.yml

@@ -1,5 +1,5 @@
 # Mark Shust's Docker Configuration for Magento (https://github.com/markoshust/docker-magento)
-# Version 20.0.0
+# Version 20.1.0
 
 version: "3"
 
@@ -57,6 +57,12 @@ services:
     volumes:
       - dbdata:/var/lib/mysql
 
+  elasticsearch:
+    image: elasticsearch:5.6
+    ports:
+      - "9200:9200"
+      - "9300:9300"
+
 volumes:
   appdata:
   dbdata: