docker部署gitlab
---
version: '3'
services:
gitlab:
image: gitlab/gitlab-ce:latest
restart: always
ports:
- 8443:443
- 8080:80
- 222:22
container_name: gitlab
volumes:
- ./config:/etc/gitlab
- ./logs:/var/log/gitlab
- ./data:/var/opt/gitlab
ulimits:
nproc: 65535
nofile:
soft: 20000
hard: 40000
本文来自博客园,作者:厚礼蝎,转载请注明原文链接:https://www.cnblogs.com/guangdelw/p/17114583.html