mirror of
https://github.com/denyskon/teabag
synced 2025-03-20 16:27:56 +01:00
v1.0.0
changes: - gitea-only now - simplify code - add docker image - update deps
This commit is contained in:
2
env/.gitignore
vendored
2
env/.gitignore
vendored
@ -1,4 +1,4 @@
|
||||
*
|
||||
|
||||
!.gitignore
|
||||
!sample.config
|
||||
!teabag.env.example
|
||||
|
44
env/sample.config
vendored
44
env/sample.config
vendored
@ -1,44 +0,0 @@
|
||||
[runtime]
|
||||
environment="development"
|
||||
|
||||
[server]
|
||||
host="localhost"
|
||||
port="3000"
|
||||
sessionSecret="super-secret"
|
||||
publicProto="https"
|
||||
public="oauth.example.com"
|
||||
publicPort="443"
|
||||
|
||||
# Delete if not in use
|
||||
[gitea]
|
||||
key=
|
||||
secret=
|
||||
baseURL="https://gitea.yourcompany.com"
|
||||
authURI=
|
||||
accessTokenURI=
|
||||
userURI=
|
||||
callbackURI="https://oauth.example.com/callback/gitea"
|
||||
|
||||
# Delete if not in use
|
||||
[gitlab]
|
||||
key=
|
||||
secret=
|
||||
baseURL=
|
||||
authURI="oauth/authorize"
|
||||
accessTokenURI="oauth/token"
|
||||
userURI="api/v3/user"
|
||||
callbackURI="http://localhost:3000/callback/gitlab"
|
||||
|
||||
# Delete if not in use
|
||||
[github]
|
||||
key=
|
||||
secret=
|
||||
baseURL=
|
||||
callbackURI="http://localhost:3000/callback/github"
|
||||
|
||||
# Delete if not in use
|
||||
[bitbucket]
|
||||
key=
|
||||
secret=
|
||||
baseURL=
|
||||
callbackURI="http://localhost:3000/callback/bitbucket"
|
11
env/teabag.env.example
vendored
Normal file
11
env/teabag.env.example
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
HOST=localhost
|
||||
PORT=3000
|
||||
SESSION_SECRET=super-secret
|
||||
|
||||
GITEA_KEY=
|
||||
GITEA_SECRET=
|
||||
GITEA_BASE_URL=https://gitea.yourcompany.com
|
||||
GITEA_AUTH_URI=
|
||||
GITEA_TOKEN_URI=
|
||||
GITEA_USER_URI=
|
||||
CALLBACK_URI=https://oauth.example.com/callback
|
Reference in New Issue
Block a user