behnam2016

gitlab-run

Dec 10th, 2019
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. sudo docker run --detach \
  2. --hostname gitlab.mydomain.tld \
  3. --publish 8210:22 \
  4. --publish 8220:80 \
  5. --publish 8230:443 \
  6. --network mynet \
  7. --name gitlab \
  8. --restart always \
  9. --volume /srv/gitlab/config:/etc/gitlab:Z \
  10. --volume /srv/gitlab/logs:/var/log/gitlab:Z \
  11. --volume /srv/gitlab/data:/var/opt/gitlab:Z \
  12. gitlab/gitlab-ce:latest
Advertisement
Add Comment
Please, Sign In to add comment