You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: environments/magento2.md
+19-40Lines changed: 19 additions & 40 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,30 +17,26 @@ In addition to the below manual process, there is a `Github Template available f
17
17
18
18
The result of this command is a `.env` file in the project root (tip: commit this to your VCS to share the configuration with other team members) having the following contents:
19
19
20
-
WARDEN_ENV_NAME=exampleproject
21
-
WARDEN_ENV_TYPE=magento2
22
-
WARDEN_WEB_ROOT=/
23
-
24
-
TRAEFIK_DOMAIN=exampleproject.test
25
-
TRAEFIK_SUBDOMAIN=app
26
-
27
20
WARDEN_DB=1
28
-
WARDEN_ELASTICSEARCH=1
21
+
WARDEN_ELASTICSEARCH=0
22
+
WARDEN_OPENSEARCH=1
23
+
WARDEN_ELASTICHQ=0
29
24
WARDEN_VARNISH=1
30
25
WARDEN_RABBITMQ=1
31
26
WARDEN_REDIS=1
32
27
33
-
WARDEN_SYNC_IGNORE=
34
-
35
-
ELASTICSEARCH_VERSION=7.6
36
-
MARIADB_VERSION=10.3
28
+
OPENSEARCH_VERSION=2.5
29
+
DB_DISTRIBUTION=mariadb
30
+
DB_DISTRIBUTION_VERSION=10.6
37
31
NODE_VERSION=12
38
-
COMPOSER_VERSION=1
39
-
PHP_VERSION=7.3
32
+
COMPOSER_VERSION=2.2
33
+
PHP_VERSION=8.1
40
34
PHP_XDEBUG_3=1
41
-
RABBITMQ_VERSION=3.8
42
-
REDIS_VERSION=5.0
43
-
VARNISH_VERSION=6.0
35
+
RABBITMQ_VERSION=3.9
36
+
REDIS_VERSION=7.0
37
+
VARNISH_VERSION=7.1
38
+
39
+
WARDEN_SYNC_IGNORE=
44
40
45
41
WARDEN_ALLURE=0
46
42
WARDEN_SELENIUM=0
@@ -96,10 +92,6 @@ In addition to the below manual process, there is a `Github Template available f
96
92
97
93
8. Install the application and you should be all set:
98
94
99
-
:::{note}
100
-
If you are using OpenSearch instead of ElasticSearch, use `--elasticsearch-host=opensearch` instead of `--elasticsearch-host=elasticsearch`.
101
-
:::
102
-
103
95
## Install Application
104
96
bin/magento setup:install \
105
97
--backend-frontname=backend \
@@ -111,12 +103,12 @@ In addition to the below manual process, there is a `Github Template available f
111
103
--db-name=magento \
112
104
--db-user=magento \
113
105
--db-password=magento \
114
-
--search-engine=elasticsearch7 \
115
-
--elasticsearch-host=elasticsearch \
116
-
--elasticsearch-port=9200 \
117
-
--elasticsearch-index-prefix=magento2 \
118
-
--elasticsearch-enable-auth=0 \
119
-
--elasticsearch-timeout=15 \
106
+
--search-engine=opensearch \
107
+
--opensearch-host=opensearch \
108
+
--opensearch-port=9200 \
109
+
--opensearch-index-prefix=magento2 \
110
+
--opensearch-enable-auth=0 \
111
+
--opensearch-timeout=15 \
120
112
--http-cache-hosts=varnish:80 \
121
113
--session-save=redis \
122
114
--session-save-redis-host=redis \
@@ -158,19 +150,6 @@ In addition to the below manual process, there is a `Github Template available f
158
150
bin/magento indexer:reindex
159
151
bin/magento cache:flush
160
152
161
-
:::{note}
162
-
Prior to Magento ``2.4.x`` it was not required to enter search-engine and elasticsearch configuration during installation and these params to ``setup:install`` are not supported by Magento ``2.3.x``. These should be omitted on older versions where not supported and Elasticsearch configured via ``config:set`` instead:
0 commit comments