Sign inSign up

siya/gitlab

By siya

•Updated about 8 years ago

gitlab in docker

Image
0

171

siya/gitlab repository overview

runnging gitlab with docker-compose

⁠build step
⁠step 1

make sure you have {$HOME}/gitlab and make sure your {$HOME}/gitlab have writable and readable right

⁠step 2

run this command nodeamon, then you can get the container

docker run \
-p 127.0.0.1:30000:80 \
-p 127.0.0.1:30001:22 \
-p 127.0.0.1:30002:443 \
-v ${HOME}/gitlab/config:/etc/gitlab \
-v ${HOME}/gitlab/logs:/var/log/gitlab \
-v ${HOME}/gitlab/data:/var/opt/gitlab \
--name gitlab siya/gitlab
⁠something you should know

http://localgitlab.com:30000 is your gitlab web http://localgitlab.com:30001 is your gitlab ssh http://localgitlab.com:30002 is your gitlab https ${HOME}/gitlab/config is the gitlab config ${HOME}/gitlab/logs is the gitlab logs ${HOME}/gitlab/data is the gitlab data

⁠the end

if you want to change more variables to your gitlab. you can view my project siyaEng/docker-gitlab⁠ the docker-compose.build.yml build this siya/gitlab image the docker-compose.yml, you can run with docker-compose

Tag summary

Content type

Image

Digest

Size

540.2 MB

Last updated

about 8 years ago

docker pull siya/gitlab