-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #48 from glo47154/feature/rc-2.1.0
Features: - Prevent containers from starting if stopped manually. - Makes the xDebug idekey option configurable from docker-compose via M2D_XDEBUG_IDE_KEY variable. - Unify base image accros php versions. Now all PHP containers are based on apache-bullseye. - Added OpenSearch 1.2.4. Max heap size can be configured with the M2D_OPENSEARCH_MAX_HEAP_SIZE variable.
- Loading branch information
Showing
10 changed files
with
56 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
MAGENTO_CLOUD_CLI_TOKEN= | ||
COMPOSER_AUTH={"http-basic":{"repo.magento.com":{"username":"","password":""}}} | ||
M2D_XDEBUG_IDE_KEY=PHPSTORM | ||
M2D_OPENSEARCH_MAX_HEAP_SIZE=512m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -133,6 +133,14 @@ logs-elastic7: | |
docker logs -f magento2elastic7 | ||
elastic7-stop: | ||
cd additional/elasticsearch7 && docker-compose stop && cd - | ||
opensearch: | ||
cd additional/opensearch && docker-compose up -d && cd - | ||
# Web interface: | ||
# http://127.0.0.1:9200 | ||
logs-opensearch: | ||
docker logs -f magento2opensearch | ||
opensearch-stop: | ||
cd additional/opensearch && docker-compose stop && cd - | ||
selenium: | ||
cd additional/selenium && docker-compose up -d && cd - | ||
# VNC open vnc://:[email protected]:5900 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
version: '3' | ||
|
||
services: | ||
opensearch: | ||
image: opensearchproject/opensearch:1.2.4 | ||
container_name: magento2opensearch | ||
environment: | ||
- "discovery.type=single-node" | ||
- "plugins.security.disabled=true" | ||
- "http.host=0.0.0.0" | ||
- "http.port=9200" | ||
- "OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx${M2D_OPENSEARCH_MAX_HEAP_SIZE:-512m}" | ||
- "DISABLE_INSTALL_DEMO_CONFIG=true" # disable demo config see https://opensearch.org/docs/latest/opensearch/install/docker-security/ | ||
ports: | ||
- "9200:9200" | ||
networks: | ||
default: | ||
name: env_default | ||
external: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters