Forráskód Böngészése

Lowered RAM check on setup #720

Mark Shust 2 éve
szülő
commit
f417d028dc
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      compose/bin/setup

+ 1 - 1
compose/bin/setup

@@ -3,7 +3,7 @@ set -o errexit
 
 MEM=$(docker info | grep "Total Memory" | cut -d':' -f2 | xargs | sed s/GiB//)
 # Docker reports RAM 0.2 less than what it is actually set to
-(( $(echo "$MEM < 5.8" | bc -l) )) && echo "There must be at least 6GB of RAM allocated to Docker to continue." && exit
+(( $(echo "$MEM < 5.7" | bc -l) )) && echo "There must be at least 6GB of RAM allocated to Docker to continue." && exit
 
 # shellcheck source=../env/db.env
 source env/db.env