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密码
本站文章如无特殊说明,均为本站原创,如若转载,请注明出处:linux使用docker-compose安装gitlab - Python技术站