Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo docker run --detach \
- --hostname gitlab.mydomain.tld \
- --publish 8210:22 \
- --publish 8220:80 \
- --publish 8230:443 \
- --network mynet \
- --name gitlab \
- --restart always \
- --volume /srv/gitlab/config:/etc/gitlab:Z \
- --volume /srv/gitlab/logs:/var/log/gitlab:Z \
- --volume /srv/gitlab/data:/var/opt/gitlab:Z \
- gitlab/gitlab-ce:latest
Advertisement
Add Comment
Please, Sign In to add comment