GitLab: verschil tussen versies
Uit WaaaghPedia
Geen bewerkingssamenvatting |
|||
Regel 33: | Regel 33: | ||
Veel Plezier | Veel Plezier | ||
== Tweakes == | |||
=== Upload filesize === | |||
* From the Dashboard, navigate to Admin Area > Settings > General. | |||
* Expand the Account and limit section. | |||
* Fill in the Size limit per repository (MB) field. | |||
* Save changes. | |||
==Commands== | ==Commands== | ||
<pre> | <pre> |
Versie van 30 okt 2019 21:04
Voorbereiding
Machine
- 2 Cores
- 4GB ram
- 50GB hdd
Software
Installeer CentOS en Finetune CentOS
Installatie
https://about.gitlab.com/install/#centos-7
HTTPS
https://docs.gitlab.com/omnibus/settings/nginx.html#manually-configuring-https
SMTP
https://docs.gitlab.com/omnibus/settings/smtp.html
gitlab_rails['smtp_enable'] = true gitlab_rails['smtp_address'] = "smtp.server" gitlab_rails['smtp_port'] = 465 gitlab_rails['smtp_user_name'] = "smtp user" gitlab_rails['smtp_password'] = "smtp password" gitlab_rails['smtp_domain'] = "example.com" gitlab_rails['smtp_authentication'] = "login" gitlab_rails['smtp_enable_starttls_auto'] = true gitlab_rails['smtp_openssl_verify_mode'] = 'peer'
LDAP
https://docs.gitlab.com/ee/administration/auth/ldap.html
Open je browser en ga naar http://gitlab.example.com en maak een root wachtwoord aan. Veel Plezier
Tweakes
Upload filesize
- From the Dashboard, navigate to Admin Area > Settings > General.
- Expand the Account and limit section.
- Fill in the Size limit per repository (MB) field.
- Save changes.
Commands
gitlab-ctl status gitlab-ctl reconfigure