瀏覽代碼

Lowered RAM check on setup #720

Mark Shust 2 年之前
父節點
當前提交
f417d028dc
共有 1 個文件被更改,包括 1 次插入1 次删除
  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