Use Docker-compose to deploy gitlab community edition

community edition

insert image description here
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_HOMEpointing 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: 

Guess you like

Origin blog.csdn.net/qq_44534541/article/details/131016268
Recommended