From b897eb22a4c3594ae024a0fe9ebfbfa615c07a95 Mon Sep 17 00:00:00 2001 From: Kroese Date: Tue, 18 Apr 2023 17:46:58 +0200 Subject: [PATCH] Docker environment vars --- run/run.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/run/run.sh b/run/run.sh index 27a6842..e1adf9c 100755 --- a/run/run.sh +++ b/run/run.sh @@ -3,8 +3,11 @@ set -eu # Docker environment vars -: ${URL:=''}. # URL of PAT file -: ${ALLOCATE:='Y'} # Preallocate diskspace +: ${URL:=''}. # URL of PAT file +: ${ALLOCATE:='Y'} # Preallocate diskspace +: ${CPU_CORES:='1'} # vCPU count +: ${DISK_SIZE:='16G'} # Initial disk size +: ${RAM_SIZE:='512M'} # Amount of RAM echo "Starting Virtual DSM for Docker v${VERSION}..."