Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Installation method of gitlab based on docker

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article introduces the relevant knowledge of "gitlab installation method based on docker". Many people will encounter such a dilemma in the operation of actual cases, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

The docker-based gitlab installation is divided into three parts:

1. Redis installation

Sudo docker run-- name=gitlab-redis-d localhost:5000/qingwuwang/redis:gitlab

II. Postgresql installation

Sudo docker run-- name=gitlab-postgresql-d-e 'DB_NAME=gitlabhq_production'-e' DB_USER=*'-e 'DB_PASS=*'-v / opt/postgresql/data:/var/lib/postgresql localhost:5000/qingwuwang/postgresql:gitlab

III. Gitlab installation and links

Sudo docker run-e 'GITLAB_PORT:10080'-e' GITLAB_SSH_PORT=10022'-p 10022 name=gitlab-d-- link gitlab-redis:redisio-- link gitlab-postgresql:postgresql-v / opt/gilab/data:/home/git/data localhsot:5000/qingwuwang/gitlab:gitlab

The specific meaning will be described in detail later. Take notes first.

This is the end of the content of "docker-based gitlab installation method". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report