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)

Blog    

Recommend

JavaScript to achieve full screen page scrolling effect

After I finished reading JavaScript DOM, I had a ...

Detailed explanation of the process of using GPU in Docker

Table of contents Download tf-gpu Build your own ...

HTML page jump passing parameter problem

The effect is as follows: a page After clicking t...

Detailed examples of float usage in HTML/CSS

1. Basic usage examples of float 1. Let's fir...

Deploy grafana+prometheus configuration using docker

docker-compose-monitor.yml version: '2' n...

Nginx 502 Bad Gateway Error Causes and Solutions

I have encountered the Nginx 502 Bad Gateway erro...

Detailed explanation of Nodejs array queue and forEach application

This article mainly records the problems and solu...

Example of using setInterval function in React

This article is based on the Windows 10 system en...

How to change the domestic source of Ubuntu 20.04 apt

UPD 2020.2.26 Currently Ubuntu 20.04 LTS has not ...

Why does MySQL paging become slower and slower when using limit?

Table of contents 1. Test experiment 2. Performan...

How to write high-quality JavaScript code

Table of contents 1. Easy to read code 1. Unified...

How to connect idea to docker to achieve one-click deployment

1. Modify the docker configuration file and open ...