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

Pagoda panel with docker how to install gogs

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

Share

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

Editor to share with you the pagoda panel with docker how to install gogs, I believe that most people do not understand, so share this article for your reference, I hope you will learn a lot after reading this article, let's go to know it!

Note that mysql should be greater than or equal to 5.7,

1 install docker in Pagoda Software Store

2 pull gogs image

Docker pull gogs/gogs

3 create a directory

Mkdir-p / var/gogs

4-port mapping docker run-d-- name=gogs-p 10022 var/gogs:/data gogs/gogs5 22-p 10080 var/gogs:/data gogs/gogs5 complete access to gogs address {server ip:10080} go to the gogs configuration page

Pay attention

When this problem occurs, it means that Google does not allow access to this port to use other browsers to access and complete the construction of gogs. After the last step, the pagoda is built and the site is done as a reverse proxy. Google can access it normally.

6. Access [Server IP:10080] to configure gogs

Places to be configured

Database type-> SQLlite3

Domain name-> your IP

Ssh port-> your ssh port (default 22)

Http port number-> 10080

Apply url- > ip:10080

The configuration is complete.

7 finally configure domain name reverse proxy

Aliyun resolves a domain name to this server and then creates a site site path to fill in at will.

Then configure reverse proxy-add reverse tape library

Complete

The above is all the contents of the article "how to install gogs with Pagoda Panel with docker". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

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

Development

Wechat

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

12
Report