diff --git a/compose/bin/setup b/compose/bin/setup index 3329b89eb..6f93d7920 100755 --- a/compose/bin/setup +++ b/compose/bin/setup @@ -1,6 +1,8 @@ #!/usr/bin/env bash set -o errexit -if [ -f "../env/magento.env" ]; then +if [ -f "./env/magento.env" ]; then + source "./env/magento.env" +elif [ -f "../env/magento.env" ]; then source "../env/magento.env" else echo "Warning: magento.env file not found."