diff --git a/create_container.sh b/create_container.sh index b55c4ad..c0c08cb 100644 --- a/create_container.sh +++ b/create_container.sh @@ -65,7 +65,7 @@ TEMP_DIR=$(mktemp -d) pushd $TEMP_DIR >/dev/null # Download setup script -wget -qL https://git.sthopeless.com/sthope/proxmox_portainer/raw/branch/master/setup.sh +wget -qL https://git.sthopeless.com/sthope/proxmox_docker_gitlab/raw/branch/master/setup.sh # Detect modules and automatically load at boot load_module aufs @@ -142,7 +142,8 @@ HOSTNAME=Gitlab TEMPLATE_STRING="local:vztmpl/${TEMPLATE}" pct create $CTID $TEMPLATE_STRING -arch $ARCH -features nesting=1 \ -hostname $HOSTNAME -net0 name=eth0,bridge=vmbr0,ip=dhcp -onboot 1 \ - -ostype $OSTYPE -rootfs $ROOTFS,size=$DISK_SIZE -storage $STORAGE >/dev/null + -ostype $OSTYPE -rootfs $ROOTFS,size=$DISK_SIZE -storage $STORAGE, \ + memory=4096, swap=2048 >/dev/null # Modify LXC permissions to support Docker LXC_CONFIG=/etc/pve/lxc/${CTID}.conf