Initial commit

This commit is contained in:
Sthope 2021-05-07 16:20:48 +02:00
parent de8fc88295
commit 792d34046e
2 changed files with 5 additions and 1 deletions

View File

@ -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"

View File

@ -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