community edition
The following functions are free to use, including all functions of GitLab CE and the function code of the enterprise-level paid version. If you only want to use free open source software, please choose Jihu GitLab Community Edition.
1. Create directory /srv/gitlab
mkdir -p /srv/gitlab
Configure a new environment variable $GITLAB_HOME
pointing to the directory where the configuration, log and data files are located.
export GITLAB_HOME=/srv/gitlab
2. Use docker-compose
gitlab.yml
version: '3.6'
services:
web:
image: 'registry.gitlab.cn/omnibus/gitlab-jh:latest'
container_name: