8000 GitHub - XFine/gitlab-ce-zh: GitLab Community Edition (中文社区版)
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

XFine/gitlab-ce-zh

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

支持的 tags 和对应的 Dockerfile

GitLab 中文社区版

这是汉化的 GitLab 社区版 Docker Image,基于官方提供的 Docker Image gitlab/gitlab-ce,以及 Larry Li 的汉化https://gitlab.com/larryli/gitlab 而制作。

Deploy to Docker Cloud

使用

使用 Docker Compose

可以使用 Docker Compose 来配置启动,建立一个 docker-compose.yml,内容如下:

version: '2'
services:
    web:
      image: 'twang2218/gitlab-ce-zh:latest'
      restart: always
      hostname: 'gitlab.example.com'
      environment:
        GITLAB_OMNIBUS_CONFIG: |
          external_url 'http://gitlab.example.com'
          # Add any other gitlab.rb configuration here, each on its own line
      ports:
        - '80:80'
        - '443:443'
        - '22:22'
      volumes:
        - config:/etc/gitlab
        - data:/var/opt/gitlab
        - logs:/var/log/gitlab
volumes:
    config: {}
    data: {}
    logs: {}

然后使用命令 docker-compose up -d 来启动。

使用 Docker 命令启动

docker run --detach \
    --hostname gitlab.example.com \
    --publish 443:443 --publish 80:80 --publish 22:22 \
    --name gitlab \
    --restart always \
    --volume /srv/gitlab/config:/etc/gitlab \
    --volume /srv/gitlab/logs:/var/log/gitlab \
    --volume /srv/gitlab/data:/var/opt/gitlab \
    twang2218/gitlab-ce-zh:latest

登录

第一次启动 GitLab 后,使用下列默认用户和密码登录,并修改密码:

用户名: `root`
密码: `5iveL!fe`

相关信息

GitLab Docker 相关操作请参考:

http://docs.gitlab.com/omnibus/docker/

GitLab Community Edition - Chinese Edition

This is GitLab Community Edition docker image with Chinese translation integrated. The Docker image is based on gitlab/gitlab-ce, and the Chinese translation is based on Larry Li's work https://gitlab.com/larryli/gitlab.

About

GitLab Community Edition (中文社区版)

Resources

License

Stars

Watchers

Forks

Packages

No packages published
0