The whole process of installing gogs with pagoda panel and docker

The whole process of installing gogs with pagoda panel and docker

insert image description here

Note that mysql must be greater than or equal to 5.7

1 Install Docker in Baota Software Store

insert image description here

2 Pull the gogs image

docker pull gogs/gogs

3 Create a directory

mkdir -p /var/gogs

4 Port Mapping

docker run -d --name=gogs -p 10022:22 -p 10080:3000 -v /var/gogs:/data gogs/gogs

5 Complete access to gogs address {server ip:10080} Enter the gogs configuration page

insert image description here
insert image description here

Attention Attention

When this problem occurs, it means that Google does not allow access to this port. Use other browsers to access it. Complete the construction of gogs. After the last step, Baota creates the site and completes the reverse proxy, Google can access it normally.

insert image description here

6 Visit [Server IP: 10080] to configure gogs

Place to configure
Database Type -> SQLlite3
Domain name -> your IP
ssh port -> your ssh port (default 22)
http port number -> 10080
Application url-> ip:10080

The configuration is complete

7Finally configure the domain name reverse proxy

Alibaba Cloud resolves a domain name to this server and then creates a site. Fill in the site path at will.

Then configure the reverse proxy-add reverse tape library

insert image description here

Finish

This is the end of this article about installing gogs with pagoda panel and docker. For more information about installing gogs with pagoda panel and docker, please search for previous articles on 123WORDPRESS.COM or continue to browse the following related articles. I hope you will support 123WORDPRESS.COM in the future!

You may also be interested in:
  • Gogs+Jenkins+Docker automated deployment of .NetCore steps
  • Alibaba Cloud Linux CentOS 7 Docker deployment uses gogs to build your own git server

<<:  How to use pdf.js to preview pdf files in Vue

>>:  HTML basics summary recommendation (paragraph)

Recommend

Solution to Ubuntu cannot connect to the network

Effective solution for Ubuntu in virtual machine ...

Implementation of Docker deployment of Nuxt.js project

Docker official documentation: https://docs.docke...

Jmeter connects to the database process diagram

1. Download the MySQL jdbc driver (mysql-connecto...

Basic structure of HTML documents (basic knowledge of making web pages)

HTML operation principle: 1. Local operation: ope...

Zen HTML Elements Friends who use zen coding can collect it

html ¶ <html></html> html:xml ¶ <h...

Detailed explanation of the implementation of MySQL auto-increment primary key

Table of contents 1. Where is the self-incremente...

7 skills that web designers must have

Web design is both a science and an art. Web desi...

Tutorial on how to modify element.style inline styles

Preface When we were writing the web page style a...

Implementation example of video player based on Vue

When the existing video player cannot meet the ne...

Share 20 excellent web form design cases

Sophie Hardach Clyde Quay Wharf 37 East Soapbox Rx...

5 Reasons Why Responsive Web Design Isn’t Worth It

This article is from Tom Ewer's Managewp blog,...

How to restore data using binlog in mysql5.7

Step 1: Ensure that MySQL has binlog enabled show...