diff --git a/compose/bin/setup b/compose/bin/setup index 945ad40a6..3329b89eb 100755 --- a/compose/bin/setup +++ b/compose/bin/setup @@ -1,6 +1,10 @@ #!/usr/bin/env bash set -o errexit -source env/magento.env +if [ -f "../env/magento.env" ]; then + source "../env/magento.env" +else + echo "Warning: magento.env file not found." +fi MEM_BYTES=$(docker info -f '{{.MemTotal}}') MEM_MB=$(( MEM_BYTES / 1000000 ))