Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '2'
- services:
- gitlab:
- image: gitlab/gitlab-ce:latest
- volumes:
- - ./data/etc:/etc/gitlab
- - ./data/log:/var/log/gitlab
- - ./data/opt:/var/opt/gitlab
- ports:
- - "30080:80"
- - "30443:443"
- - "30022:22"
- #from :
- #sudo docker run --detach \
- # --hostname gitlab.example.com \
- # --publish 443:443 --publish 80:80 --publish 22:22 \
- # --name gitlab \
- # --restart always \
- # --volume /srv/gitlab/config:/etc/gitlab \
- # --volume /srv/gitlab/logs:/var/log/gitlab \
- # --volume /srv/gitlab/data:/var/opt/gitlab \
- # gitlab/gitlab-ce:latest
Add Comment
Please, Sign In to add comment