1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-05 01:34:25 +00:00
gitea/docker/etc
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
..
profile.d Restructured docker building 2016-11-28 14:13:18 +01:00
s6 Update certificates to enable self-signed certs (#3708) 2018-03-25 13:47:06 +03:00
ssh Fixing multiple docker issues (#386) 2016-12-15 17:16:55 +08:00
templates Fix ordering in app.ini and fix run mode option (#2829) 2017-11-02 23:08:21 +02:00
nsswitch.conf Restructured docker building 2016-11-28 14:13:18 +01:00