Gogs, a private git service developed by domestic bosses

Gogs' goal is to create the simplest, fastest and easiest way to build a self-service Git service.

gogs official website: https://gogs.io/

Github address: https://github.com/gogs/gogs/tree/main/docker

docker install gogs service
docker pull gogs/gogs

Insert image description here
Start gogs container

docker run --name=gogs -p 122:22 -p 3000:3000 -v /var/gogs:/data gogs/gogs

Insert image description here

Configure gogs, the default port is3000

Insert image description here

Follow the steps to install the required components. For the first database, select the database installed on the host:

Insert image description here

Note: If you use MySQL, please use the INNODB engine and the utf8_general_ci character set; the localhost here represents the address of the host machine, or it can be changed to the server IP, because the browser accesses the page through the service IP, and the internal localhost represents the local host. machine address.

Insert image description here

After clicking install, the following page will appear. This is normal because data applications are required.

Insert image description here
Enter the server address and port to refresh again, enter gogs as follows

Insert image description here
After registering an account, you can implement code management. All in Chinese, very easy to use.

Create user

Insert image description here

log in page

Insert image description here

Go to homepage
Insert image description here

B station gogs learning video

Gogs is a minimalist git autonomous service that does not currently support API remote control, but can complete most code management.

Guess you like

Origin blog.csdn.net/xwh3165037789/article/details/132857248