This article is a mirror article of machine translation, please click here to jump to the original article.

View: 4849|Reply: 6

【Practical Action】Use Docker to build a Gitlab private repository

[Copy link]
Posted on 1/10/2023 7:11:30 PM | | | |
Requirements: You need to test a function point of Gitlab, and then use Docker to quickly build a Gitlab environment, and delete it immediately after testing, without polluting the system environment.

Review:

【Practical Combat】Build a Gitea private Git repository with soft routing
https://www.itsvse.com/thread-10403-1-1.html

CentOS 7 installation Gitlab installation tutorial
https://www.itsvse.com/thread-9020-1-1.html

Git in action – Commit your local project to github/gitlab
https://www.itsvse.com/thread-3499-1-1.html

Docker images are available in two versions:



Building Gitlab official website documentation based on Docker:https://docs.gitlab.com/ee/install/docker.html

First, create a folder on the host machine to store gitlab data, with the following command:

The community version of gitlab-ce command is as follows:
hostname and other parameters, please fill in according to your actual situation.

Wait for a while for the installation to complete, the default account is:root, the initial password is viewed by the following command:



You can successfully log in to gitlab as shown below:



(End)





Previous:Alibaba Cloud SLB Load Balancing 503 Error Resolution
Next:Nginx load balancing addresses the backend SESSION single point issue
 Landlord| Posted on 1/10/2023 7:12:48 PM |
Install EE Enterprise




 Landlord| Posted on 9/5/2024 11:05:41 AM |
Docker Reset Gitlab Password:The hyperlink login is visible.

The command is as follows:

After entering the command,It will be stuck for 1 minutePlease wait for the password to enter and confirm the password.


 Landlord| Posted on 12/21/2024 4:50:24 PM |
Gitlab reports error 413, 413 Request Entity Too Large is generally the request content is too large, Nginx can adjust it, how can Gitlab modify it?

ERROR: Uploading artifacts as "archive" to coordinator... 413 Request Entity Too Large  id=795 responseStatus=413 Request Entity Too Large status=413 token=glcbt-64
FATAL: too large                                   
ERROR: Job failed: exit code 1


solution

Log in to the admin with settings -> ci/cd ->Maximum artifacts size (MB)Adjust this setting, the default is 100M, as shown below:



Reference:The hyperlink login is visible.
 Landlord| Posted on 4/4/2025 8:49:50 PM |
Disability statistics

Service ping is a process that collects and sends payloads to GitLab Inc. on a weekly basis. The main purpose of Service Ping is to build better GitLab.

Edit /etc/gitlab/gitlab.rb and disable the configuration as follows:


Reference:https://docs.gitlab.com/administration/settings/usage_statistics/



 Landlord| Posted on 4/8/2025 9:16:45 AM |
gitlab project disables CI/CD (pipeline)



 Landlord| Posted on 4/14/2025 8:55:33 AM |
Gitlab backup, the command is as follows:
Reference:The hyperlink login is visible.
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com