Skip to content

Commit

Permalink
Fixed path to magento.env file in setup script to ensure correct sour…
Browse files Browse the repository at this point in the history
…cing
  • Loading branch information
YevhenZvieriev committed Aug 12, 2024
1 parent f203375 commit 120a599
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion compose/bin/setup
Original file line number Diff line number Diff line change
@@ -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 ))
Expand Down

0 comments on commit 120a599

Please sign in to comment.