docker-magento icon indicating copy to clipboard operation
docker-magento copied to clipboard

The latest version does not work with almost magento version

Open lyquocphong opened this issue 1 year ago • 0 comments

Description I used the latest version and see that in bin/setup it hard code for the opensearch like this --opensearch-host="$OPENSEARCH_HOST" --opensearch-port="$OPENSEARCH_PORT" and that seem right error when run with version less than 2.4.6 because it does not support OpenSearch yet. I think that it will be better to have Flag to define do we need to run with opensearch or not

Another problem is that with 2.4.6 when the first time run setup, store will have problem if the opensearch service is commented in compose.yml because of the same problem above

I think that should be good idea that we can use the env folder to provide environment variable when run with docker-compose and the compose.yml should use those variables. Example: mapping port for app/nginx/mysql and so on. It even better if we can defined the varible for VERSION, EDITION in env file

Steps To Reproduce

  1. Init with version 2.4.5

Expected Result

  1. Store can be setup

Actual Result

  1. Failed because of OpenSearch is used

lyquocphong avatar Jun 06 '23 10:06 lyquocphong