docker-magento
docker-magento copied to clipboard
The latest version does not work with almost magento version
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
- Init with version 2.4.5
Expected Result
- Store can be setup
Actual Result
- Failed because of OpenSearch is used