single-dockerfile
parent
d23ff66f6d
commit
6d3cf7a4d6
@ -0,0 +1,9 @@ |
|||||||
|
# gitea |
||||||
|
|
||||||
|
OpenID setup doesn't work out of the box. The open id provider must be configured: |
||||||
|
|
||||||
|
* Authentication name: `keycloak` |
||||||
|
* OAuth2 Provider: `OpenID Connect` |
||||||
|
* Client key: `gitea` |
||||||
|
* Client secret: (copy from `../data/gitea/env.secrets`) |
||||||
|
* Discovery URL: https://login.hackerspace.zone/realms/hackerspace/.well-known/openid-configuration |
@ -1 +1,6 @@ |
|||||||
# gitea config |
# gitea config for keycloak integration |
||||||
|
# only allow open id sign-in, turn off all other registrations |
||||||
|
GITEA__openid__ENABLE_OPENID_SIGNIN=true |
||||||
|
GITEA__openid__ENABLE_OPENID_SIGNUP=false |
||||||
|
#GITEA__service__DISABLE_REGISTRATION=true |
||||||
|
GITEA__service__ALLOW_ONLY_EXTERNAL_REGISTRATION=true |
||||||
|
Loading…
Reference in new issue