Sign inSign up

sunwanglin/gitlab-ce

By sunwanglin

•Updated over 4 years ago

GitLab Community Edition docker image based on the Omnibus package

Image
0

123

sunwanglin/gitlab-ce repository overview

GitLab Community Edition docker image based on the Omnibus package 用户名 root 密码 gitlabroot

要求容器内存2G以上,建议4G,启动会很顺利,否则启动不了

使用docker-compose.yml

+++++++++++++++++++++++++++++++++++++++++++++++++++++++

version: '3.1'

services:

gitlab:

image: 'sunwanglin/gitlab-ce:latest'

container_name: gitlab

environment:

  GITLAB_OMNIBUS_CONFIG: |

    external_url 'http://192.168.159.128:1029'  //这里填自己的宿主机ip,访问gitlab的url

    gitlab_rails['gitlab_shell_ssh_port'] = 224

ports:

  - '1029:1029'

  - '224:224'

volumes:

  - './config:/etc/gitlab'

  - './logs:/var/log/gitlab'

  - './data:/var/opt/gitlab'

+++++++++++++++++++++++++++++++++++++++++++++++++++++++

执行 启动

docker-compose up -d

Tag summary

Content type

Image

Digest

Size

1 GB

Last updated

over 4 years ago

docker pull sunwanglin/gitlab-ce