Initial commit
This commit is contained in:
parent
de8fc88295
commit
792d34046e
@ -152,6 +152,10 @@ lxc.cgroup.devices.allow: a
|
|||||||
lxc.cap.drop:
|
lxc.cap.drop:
|
||||||
EOF
|
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
|
# Set container description
|
||||||
pct set $CTID -description "Sthope LXC"
|
pct set $CTID -description "Sthope LXC"
|
||||||
|
|
||||||
|
2
setup.sh
2
setup.sh
@ -104,7 +104,7 @@ docker run -d \
|
|||||||
-v /docker/gitlab/logs:/var/log/gitlab \
|
-v /docker/gitlab/logs:/var/log/gitlab \
|
||||||
-v /docker/gitlab/data:/var/opt/gitlab \
|
-v /docker/gitlab/data:/var/opt/gitlab \
|
||||||
--restart unless-stopped \
|
--restart unless-stopped \
|
||||||
gitlab/gitlab-ee:latest
|
gitlab/gitlab-ee:latest &>/dev/null
|
||||||
docker exec gitlab update-permissions &>/dev/null
|
docker exec gitlab update-permissions &>/dev/null
|
||||||
docker restart gitlab &>/dev/null
|
docker restart gitlab &>/dev/null
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user