1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
docker run -it \
--name=gitlab \
--hostname example.com \
-p 8929:8929 \
-p 8980:80 \
-p 8943:443 \
-p 2289:22 \
-v /dconf/gitlab/config:/etc/gitlab \
-v /dconf/gitlab/data:/var/opt/gitlab \
-v /dconf/gitlab/logs:/var/log/gitlab \
--shm-size 256m \
-e TZ=Europe/Moscow \
--restart unless-stopped \
gitlab/gitlab-ce:latest
|