gitlab_installation
gitlab_installation
Automating Networks
***** Step 1. Installation Preparation *****
(recommend setting up external DNS and make sure ports are opened)
Change
external_url 'https://gitlab.com/'
external_url 'http://x.x.x.x/'
- Initial Password
- Modify ‘Open Registration’ to more restrictive settings if desired: Menu -> Admin -> Settings ->
Click on user icon on top right hand corner -> preferences -> password
gitlab_rails[‘smtp_tls’] = false
gitlab_rails[‘gitlab_email_from’] = ‘[email protected]’
gitlab_rails[‘gitlab_email_display_name’] = ‘Admin’
gitlab_rails[‘gitlab_email_reply_to’] = ‘[email protected]’
...
***** Step 4. Install Docker (For GitLab Runner) ***** - Caution for
Production:
GitLab strongly advice against installation GitLab runner on the same machine GitLab is installed on.
- GitLab Runner:
https://docs.gitlab.com/runner/
- Run GitLab Runner in a container:
https://docs.gitlab.com/runner/install/docker.html
1. Retrieve registration Token Menu -> Admin -> Runners -> Register an
Example:
***** Step 6. (Optional) Add SSH Key & Test Project *****