forked from n4bb12/verdaccio-github-oauth-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathverdaccio.yaml
40 lines (34 loc) · 783 Bytes
/
verdaccio.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#
# Look here for more config file examples:
# https://github.com/verdaccio/verdaccio/tree/master/conf
#
storage: ./storage
plugins: ./plugins
middlewares:
github-oauth-ui:
enabled: true
auth:
github-oauth-ui:
client-id: GITHUB_CLIENT_ID
client-secret: GITHUB_CLIENT_SECRET
org: false
enterprise-origin: false
htpasswd:
file: ./htpasswd
security:
api:
jwt:
sign:
expiresIn: 90d
web:
sign:
expiresIn: 7d
packages:
"@*/*":
access: github/owner/n4bb12-oauth-testing
publish: github/owner/n4bb12-oauth-testing
unpublish: github/owner/n4bb12-oauth-testing
"**":
access: github/owner/n4bb12-oauth-testing
publish: github/owner/n4bb12-oauth-testing
unpublish: github/owner/n4bb12-oauth-testing