Go to file
Jone Marius Vignes cb87f29b76 Update certificates to enable self-signed certs (#3708)
Why:

* We are using self-signed ssl certificates for internal services, which results in failures when gitea tries to communicate through webhooks with these. We would like to enable gitea to be able to use these certificates without having to build custom docker images.

How

* We add the internal certificates to /usr/local/share/ca-certificates on the host
* We read-only mount /usr/local/share/ca-certificates from the host to /usr/local/share/ca-certificates in the container 
* We do a update-ca-certificates in the alpine container before starting gitea

This should have no consequence for users that do not have the need to handle self-signed certificates, as update-ca-certificates should be idempotent.
2018-03-25 13:47:06 +03:00
.github Comment help text for issues (#2281) 2017-08-09 12:13:33 +08:00
assets Add task to generate images from SVG and change to new logo (#2194) 2017-07-28 13:51:20 +08:00
cmd Implements generator cli for secrets (#3531) 2018-02-18 20:14:37 +02:00
contrib Drop unmaintained gogs migration script (#2947) 2017-11-21 08:52:48 +08:00
custom/conf Add option to enable or disable swagger endpoints (#3502) 2018-02-14 06:46:00 +02:00
docker Update certificates to enable self-signed certs (#3708) 2018-03-25 13:47:06 +03:00
docs Update gogs to gitea migration manual (#3559) 2018-02-22 20:55:26 +08:00
integrations Fix missing translations when updating username. (#3564) 2018-02-25 15:56:25 +02:00
models Add protected branch whitelists for merging (#3689) 2018-03-25 13:01:32 +03:00
modules Add protected branch whitelists for merging (#3689) 2018-03-25 13:01:32 +03:00
options Add protected branch whitelists for merging (#3689) 2018-03-25 13:01:32 +03:00
public Don't warn users about *every* dirty form (#3707) 2018-03-23 22:10:42 +08:00
routers Add protected branch whitelists for merging (#3689) 2018-03-25 13:01:32 +03:00
scripts Updating generate-licenses.go to fetch licenses from maintained repository. (#3484) 2018-02-12 20:20:30 +02:00
templates Add protected branch whitelists for merging (#3689) 2018-03-25 13:01:32 +03:00
vendor Update markbates/goth libary to fix OAuth2 support (#3661) 2018-03-13 01:35:46 +02:00
.changelog.yml Add changelog config file for generate changelog (#2461) 2017-09-04 13:07:57 +03:00
.drone.yml Update source installation requirements (#3124) 2018-01-16 22:18:11 +01:00
.editorconfig switch gitter to discord for drone. (#1971) 2017-06-15 10:47:42 +08:00
.gitattributes ignore static files statstics for linguist 2016-12-27 16:49:25 +01:00
.gitignore Use standard lessc and minify CSS using Node.js (#2337) 2017-09-21 11:35:11 +08:00
.lgtm refactor: ignore LGTM from author of pull request. (#3283) 2018-01-02 06:13:49 -06:00
CHANGELOG.md add changelog for 1.4.0 (#3435) 2018-01-31 17:40:57 +02:00
CONTRIBUTING.md Update standard copyright header for new year (#3289) 2018-01-02 20:03:24 -06:00
DCO follow the advisor: add DCO and some improvements 2016-11-04 16:43:41 +08:00
Dockerfile Docker multi-stage (#2927) 2018-03-12 11:59:13 +02:00
LICENSE Fix typo 2016-11-08 08:42:05 +01:00
MAINTAINERS Add myself to MAINTAINERS (#3680) 2018-03-16 21:49:03 +02:00
Makefile Add more bench (#3161) 2017-12-24 02:33:34 +02:00
README.md Add CodeTriage link to README (#3299) 2018-01-09 00:01:08 +01:00
README_ZH.md update screenshots on README (#2910) 2017-11-14 13:23:55 +02:00
main.go Implements generator cli for secrets (#3531) 2018-02-18 20:14:37 +02:00
package.json Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00

README.md

简体中文

Gitea - Git with a cup of tea

Build Status Join the Discord chat at https://discord.gg/NsatcWJ Join the Matrix chat at https://matrix.to/#/#gitea:matrix.org codecov Go Report Card GoDoc Release Help Contribute to Open Source

Dashboard Repository Commits History
Branches Issues Pull Request View
Releases Activity Wiki
Diff Organization Profile

Purpose

The goal of this project is to make the easiest, fastest, and most painless way of setting up a self-hosted Git service. Using Go, this can be done with an independent binary distribution across all platforms which Go supports, including Linux, macOS, and Windows on x86, amd64, ARM and PowerPC architectures. Want to try it before doing anything else? Do it with the online demo! This project has been forked from Gogs since 2016.11 but changed a lot.

Building

From the root of the source tree, run:

make generate all

More info: https://docs.gitea.io/en-us/install-from-source/

Using

./gitea web

NOTE: If you're interested in using our APIs, we have experimental support with documentation.

Contributing

Expected workflow is: Fork -> Patch -> Push -> Pull Request

NOTES:

  1. YOU MUST READ THE CONTRIBUTORS GUIDE BEFORE STARTING TO WORK ON A PULL REQUEST.
  2. If you have found a vulnerability in the project, please write privately to security@gitea.io. Thanks!

Further information

For more information and instructions about how to install Gitea, please look at our documentation. If you have questions that are not covered by the documentation, you can get in contact with us on our Discord server, Matrix room, or forum!

Authors

License

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