diff --git a/create_container.sh b/create_container.sh index e5d0b17..3d7acce 100644 --- a/create_container.sh +++ b/create_container.sh @@ -152,6 +152,10 @@ lxc.cgroup.devices.allow: a lxc.cap.drop: EOF +# Modify LXC RAM and Swap +sed -i 's/memory: 512/memory: 4098/' $LXC_CONFIG +sed -i 's/swap: 512/swap: 2048/' $LXC_CONFIG + # Set container description pct set $CTID -description "Sthope LXC" diff --git a/setup.sh b/setup.sh index fbabf47..a003bf6 100644 --- a/setup.sh +++ b/setup.sh @@ -104,7 +104,7 @@ docker run -d \ -v /docker/gitlab/logs:/var/log/gitlab \ -v /docker/gitlab/data:/var/opt/gitlab \ --restart unless-stopped \ - gitlab/gitlab-ee:latest + gitlab/gitlab-ee:latest &>/dev/null docker exec gitlab update-permissions &>/dev/null docker restart gitlab &>/dev/null