-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml
52 lines (43 loc) · 1.44 KB
/
config.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
41
42
43
44
45
46
47
48
49
50
51
52
oauth:
google:
id: "google id"
secret: "google secret"
scopes:
- "https://www.googleapis.com/auth/userinfo.email"
endpoint:
auth: "https://accounts.google.com/o/oauth2/auth"
token: "https://oauth2.googleapis.com/token"
github:
id: "github id"
secret: "github secret"
scopes:
endpoint:
auth: "https://github.com/login/oauth/authorize"
token: "https://github.com/login/oauth/access_token"
neofs:
bearer_email_attribute: email # Exact name of the NeoFS attribute to be used for e-mail hash matching.
bearer_user_id: NUVPACMnKFhpuHjsRjhUvXz1XhqfGZYVtY # If set, limits bearer token issued to the specified user ID.
wallet:
path: /path/to/wallet.json
passphrase: '' # Passphrase to decrypt wallet. If you're using a wallet without a password, place '' here.
address: NfgHwwTi3wHAS8aFAN243C5vGbkYDpqLHP # Account address. If omitted default one will be used.
cid: 2qAEwyRwV1sMmq8pc32mKCt1SRmTBXrzP9KbfMoHmqYM
max_object_size: 209715200 # max object size allowed to be deployed via bearer token. 200mb.
max_object_lifetime: "96h" # max object lifetime. 4 days.
peers:
0:
address: s01.neofs.devenv:8080
priority: 1
weight: 1
redirect:
url: "https://website.example.com/"
listen_address: 0.0.0.0:8083
logger:
level: debug
bearer_cookie_name: "Bearer"
connect_timeout: 30s
request_timeout: 15s
rebalance_timer: 15s
prometheus:
enabled: true
address: localhost:9986