多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
使用docker-compose启动gitlab `docker-compose -f gitlab.yml up -d` ``` web: image: gitlab/gitlab-ce:11.4.5-ce.0 container_name: gitlab restart: always hostname: gitlab environment: GITLAB_OMNIBUS_CONFIG: | external_url 'http://172.16.3.65' gitlab_rails['gitlab_shell_ssh_port'] = 80 gitlab_rails['smtp_enable'] = true gitlab_rails['smtp_address'] = "smtp.163.com" gitlab_rails['smtp_port'] = 25 gitlab_rails['smtp_user_name'] = "18816487279@163.com" gitlab_rails['smtp_password'] = "邮箱密码" gitlab_rails['smtp_domain'] = "163.com" gitlab_rails['smtp_authentication'] = :login gitlab_rails['smtp_enable_starttls_auto'] = true gitlab_rails['gitlab_email_from'] = "18816487279@163.com" user["git_user_email"] = "18816487279@163.com" ports: - '443:443' - '2020:22' - '80:80' volumes: - '/data/docker/volume/gitlab/config:/etc/gitlab' - '/data/docker/volume/gitlab/logs:/var/log/gitlab' - '/data/docker/volume/gitlab/data:/var/opt/gitlab' #访问地址 localhost #默认账号 root ```