linux使用docker-compose安装gitlab
docker-compose.yml
version: '3' services: gitlab: container_name: gitlab image: twang2218/gitlab-ce-zh ports: - 443:443 - 80:80 user: root restart: unless-stopped privileged: true environment: - TZ=Asia/Shanghai - LANG=en_US.UTF-8 volumes: - /data/gitlab/etc:/etc/gitlab - /data/gitlab/log:/var/log/gitlab - /data/gitlab/data:/var/opt/gitlab
首次访问会要求修改root密码
-----------------------有任何问题可以在评论区评论,也可以私信我,我看到的话会进行回复,欢迎大家指教------------------------
(蓝奏云官网有些地址失效了,需要把请求地址lanzous改成lanzoux才可以)