1 利用docker-compose安装 version: '3.7'services:web:image: 'gitlab/gitlab-ee:latest'#restart: alwayshostname: 'gitlab.example.com'environment:GITLAB_OMNIBUS_CONFIG: |external_url 'https://gitlab.example.com'ports:- '22:22'- '80:80'- '443:443'volumes:- '/data/docker-compose/gitlab/...