Advertisement
Guest User

Untitled

a guest
Mar 16th, 2016
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.31 KB | None | 0 0
  1.  
  2. ## Ori Doc
  3.  
  4. sudo docker run --detach --hostname gitlab.example.com --env GITLAB_OMNIBUS_CONFIG="gitlab_rails['lfs_enabled'] = true;" --publish 33443:443 --publish 3380:80 --publish 3322: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
  5.  
  6.  
  7.  
  8. // credentials after running
  9. username: `root`
  10. password: `5iveL!fe`
  11.  
  12.  
  13. ## Mapping file :
  14.  
  15.  
  16. Local location Container location Usage
  17. /srv/gitlab/data /var/opt/gitlab For storing application data
  18. /srv/gitlab/logs /var/log/gitlab For storing logs
  19. /srv/gitlab/config /etc/gitlab For storing the GitLab configuration files
  20.  
  21.  
  22. ## https://github.com/sameersbn/docker-gitlab#strengthening-the-server-security
  23. ## ???? apa ini ya? bisa dipake ga sih?
  24.  
  25. • IMAP_ENABLED: Enable mail delivery via IMAP. Defaults to true if IMAP_USER is defined, else defaults to false.
  26. • IMAP_HOST: IMAP server host. Defaults to imap.gmail.com.
  27. • IMAP_PORT: IMAP server port. Defaults to 993.
  28. • IMAP_USER: IMAP username.
  29. • IMAP_PASS: IMAP password.
  30. • IMAP_SSL: Enable SSL. Defaults to true.
  31. • IMAP_STARTTLS: Enable STARTSSL. Defaults to false.
  32. • IMAP_MAILBOX: The name of the mailbox where incoming mail will end up. Defaults to inbox.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement