拓冰建站拓冰建站
首页 / 资讯中心 / 正文

Gitlab 部署和常用的运维命令

安装services: gitlab: container_name: gitlab #image: gitlab/gitlab-ce:latest image: registry.cn-hangzhou.aliyuncs.com/knight/gitlab-ce:latest restart: always ports: - "80:80" - "8443:443" - "2222:22/tcp" volumes: - /etc/localtime:/etc/localtime - /opt/app/gitlab-ce/data:/var/opt/gitlab - /opt/app/gitlab-ce/config:/etc/gitlab - /opt/app/gitlab-ce/logs:/var/log/gitlab environment: GITLAB_OMNIBUS_CONFIG: | external_url 'http://git.cnleifan.com' nginx['listen_port'] = 80 nginx['listen_https'] = false gitlab_rails['gitlab_shell_ssh_port'] = 2222 ## gitlab_rails['time_zone'] = '
分享:

看完干货,该让你的企业上线了

免费需求沟通 · 48 小时内出具建站方案 · 河南本地可上门