Skip to content

Commit

Permalink
use only necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
MateoLostanlen committed Jun 11, 2024
1 parent b0551b2 commit a3e0755
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions scripts/setup-docker-compose.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,6 @@
# Define the percentage of host memory you want to allocate
PERCENTAGE=90

# Check if the necessary tools are installed
for cmd in grep awk; do
if ! command -v $cmd &> /dev/null; then
echo "$cmd could not be found, please install it before running this script."
exit 1
fi
done

# Get the total memory of the host system in kilobytes
TOTAL_MEM_KB=$(grep MemTotal /proc/meminfo | awk '{print $2}')

Expand Down

0 comments on commit a3e0755

Please sign in to comment.