generated from resonatecoop/id-server-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.sample.json
91 lines (91 loc) · 2.15 KB
/
config.sample.json
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"Hostname": "id.resonate.localhost",
"Clients": [
{
"ConnectUrl": "https://stream.resonate.localhost/api/v3/user/connect/resonate",
"Name": "Player",
"Description": "stream.resonate.localhost"
},
{
"ConnectUrl": "https://dash.resonate.localhost/api/user/connect/resonate",
"Name": "Dashboard",
"Description": "dash.resonate.localhost"
}
],
"CSRF": {
"Key": "my-secure-csrf-key",
"Origins": "upload.resonate.localhost,beta.resonate.localhost"
},
"Mailgun": {
"Sender": "[email protected]",
"Key": "key-xxx",
"Domain": "sandboxxxxxxx.mailgun.org"
},
"Database": {
"PSN": "postgres://resonate_dev_user:password@localhost:5432/resonate_dev",
"MaxIdleConns": 5,
"MaxOpenConns": 5
},
"Oauth": {
"AccessTokenLifetime": 3600,
"RefreshTokenLifetime": 1209600,
"AuthCodeLifetime": 3600
},
"Stripe": {
"WebHookSecret": "whsec_",
"Domain": "id.resonate.localhost",
"Secret": "sk_",
"Token": "pk_",
"ListenerSubscription": {
"ID": "prod_",
"PriceID": "price_"
},
"ArtistMembership": {
"ID": "prod_",
"PriceID": "price_"
},
"LabelMembership": {
"ID": "prod_",
"PriceID": "price_"
},
"SupporterShares": {
"ID": "prod_",
"PriceID": "price_"
},
"StreamCredit50": {
"ID": "prod_",
"PriceID": "price_"
},
"StreamCredit20": {
"ID": "prod_",
"PriceID": "price_"
},
"StreamCredit10": {
"ID": "prod_",
"PriceID": "price_"
},
"StreamCredit5": {
"ID": "prod_",
"PriceID": "price_"
}
},
"ApplicationURL": "https://stream.resonate.localhost",
"Origins": [
"dash.resonate.localhost",
"stream.resonate.localhost"
],
"EmailTokenSecretKey": "very-secret",
"StaticURL": "https://dash.resonate.localhost",
"AppURL": "https://stream.resonate.localhost",
"UserAPIHostname": "api.resonate.localhost",
"UserAPIPort": ":443",
"Session": {
"Secret": "test_secret",
"Path": "/",
"MaxAge": 604800,
"Secure": true,
"HTTPOnly": true
},
"IsDevelopment": true,
"Port": ":8080"
}