Public | Automated Build

Last pushed: 9 hours ago
Short Description
Gogs is a painless self-hosted Git service.
Full Description

Gogs

Current tip version: .VERSION (see Releases for binary versions)
Web UI Preview

Important Notes

  1. YOU MUST READ Contributing Code BEFORE STARTING TO WORK ON A PULL REQUEST.
  2. Due to testing purpose, data of try.gogs.io was reset in Jan 28, 2015 and will reset multiple times after. Please do NOT put your important data on the site.
  3. The demo site try.gogs.io is running under develop branch.
  4. If you think there are vulnerabilities in the project, please talk privately to u@gogs.io, and the name you want to be credited as. Thanks!
  5. If you're interested in using APIs, we have experimental support with documentation.
  6. If your team/company is using Gogs and would like to put your logo on our website, contact us by any means.

简体中文

Purpose

The goal of this project is to make the easiest, fastest, and most painless way of setting up a self-hosted Git service. With Go, this can be done with an independent binary distribution across ALL platforms that Go supports, including Linux, Mac OS X, Windows and ARM.

Overview

Features

  • Activity timeline
  • SSH and HTTP/HTTPS protocols
  • SMTP/LDAP/Reverse proxy authentication
  • Reverse proxy with sub-path
  • Account/Organization/Repository management
  • Add/Remove repository collaborators
  • Repository/Organization webhooks (including Slack and Discord)
  • Repository Git hooks/deploy keys
  • Repository issues, pull requests, wiki and protected branches
  • Migrate and mirror repository and its wiki
  • Web editor for repository files and wiki
  • Jupyter Notebook
  • Two-factor authentication
  • Gravatar and Federated avatar with custom source
  • Mail service
  • Administration panel
  • Supports MySQL, PostgreSQL, SQLite3, MSSQL and TiDB (via MySQL protocol)
  • Multi-language support (25 languages)

Hardware Requirements

  • A Raspberry Pi or $5 Digital Ocean Droplet is more than enough to get you started. Some even use 64MB RAM Docker CaaS.
  • 2 CPU cores and 512MB RAM would be the baseline for teamwork.
  • Increase CPU cores when your team size gets significantly larger, memory footprint remains low.

Browser Support

  • Please see Semantic UI for specific versions of supported browsers.
  • The smallest resolution officially supported is 1024*768, however the UI may still look right in smaller resolutions, but no promises or fixes.

Installation

Make sure you install the prerequisites first.

There are 5 ways to install Gogs:

Tutorials

Screencasts

Deploy to Cloud

Software and Service Support

Product Support

Acknowledgments

  • Thanks Egon Elbre for designing logo.
  • Thanks Crowdin for providing open source translation plan.
  • Thanks DigitalOcean for hosting home and demo sites.
  • Thanks KeyCDN and QiNiu for providing CDN service.

Contributors

License

This project is under the MIT License. See the LICENSE file for the full license text.

Docker Pull Command
Owner
gogs
Source Repository

Comments (9)
chillichef
4 months ago

Please don't delete your old images. It screws anyone who tries to get an old stack up and running for debugging.

unknwon
2 years ago

@arr0n I tried, but hub sucks and always rewrites it with main README.

arr0n
2 years ago

would have been nice if they actually bothered to put the docker documentation on their docker page rather than swamping it with "here's out full page on gogs"

unknwon
2 years ago

Add 0.6.9 tag, but 0.6.5 and I don't know why.... the error log only says "exit status 2"...

harmw
2 years ago

Unknwon, could you please tag the containers using the corresponding Gogs version number?

pykiss
2 years ago

Solved using the url ssh://git@{{gogs domain}}:{{gogs ssh port}}/{{user}}/{{repo}}.git

pykiss
2 years ago

git push -u origin master
git@localhost's password: 

:(

I have the public key added throw the web, and i think it is fine added
cat /data/git/.ssh/authorized_keys
command="/gopath/src/github.com/gogits/gogs/gogs serv key-1 --config='/data/gogs/conf/app.ini'",no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty ssh-rsa AAAA....

unknwon
2 years ago

Please go to here for Docker-specific documentation of Gogs.