---
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
标签:logs,部署,image,gitlab,var,docker
From: https://www.cnblogs.com/guangdelw/p/17114583.html