-
Notifications
You must be signed in to change notification settings - Fork 48
/
Copy pathoapi.yml
84 lines (66 loc) · 2.37 KB
/
oapi.yml
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
LbrynetServers:
default: http://localhost:15279/
lbrynet1: http://localhost:15279/
lbrynet2: http://localhost:15279/
Debug: 1
BaseContentURL: https://player.odycdn.com/api
FreeContentURL: https://player.odycdn.com/api/v4/streams/free/
PaidContentURL: https://player.odycdn.com/api/v3/streams/paid/
StreamsV5:
Host: https://player.odycdn.com
PaidHost: https://secure.odycdn.com
StartPath: /v5/streams/start
HLSPath: /v5/streams/hls
PaidPass: paid-pass
StreamsV6:
Host: player.odycdn.com
PaidHost: secure.odycdn.com
StartPath: /v6/streams/%s/%s.mp4
Token: cdn-paid-token
InternalAPIHost: https://api.odysee.com
ProjectURL: https://odysee.com
ArfleetCDN: https://thumbnails-arfleet.odycdn.com
DatabaseDSN: postgres://postgres:odyseeteam@localhost
Database:
DBName: oapi
Options: sslmode=disable
OAuth:
ClientID: odysee-apis
ProviderURL: https://sso.odysee.com/auth/realms/Users
TokenPath: /protocol/openid-connect/token
PublishSourceDir: ./rundata/storage/publish
GeoPublishSourceDir: ./rundata/storage/geopublish
PaidTokenPrivKey: token_privkey.rsa
# Change this key for production!
# You can re-generate the key by running:
# openssl ecparam -genkey -name prime256v1 -noout -out private_key.pem && base64 -i private_key.pem
UploadTokenPrivateKey: LS0tLS1CRUdJTiBFQyBQUklWQVRFIEtFWS0tLS0tCk1IY0NBUUVFSUZZYWxQZkhySzNSQ1F2YmhRQ1h6cDZiWG9uODZWOGI5L3B0bjB3QTZxNkxvQW9HQ0NxR1NNNDkKQXdFSG9VUURRZ0FFZjhyN3RlQWJwUlVldXZhVWRsNDQzVS9VZkpYZURDd051QkRrbmp5ZnRZaXZ2Tnl6cGt6ZgpYdDl3RE9rc1VZSmEzNVhvSndabjNHMmw2L2EvdVUvWmh3PT0KLS0tLS1FTkQgRUMgUFJJVkFURSBLRVktLS0tLQo=
UploadServiceURL: http://localhost:8980/v1/
CORSDomains:
- http://localhost:1337
- http://localhost:9090
RPCTimeouts:
txo_spend: 4m
txo_list: 4m
transaction_list: 4m
publish: 4m
RedisLocker: redis://:odyredis@localhost:6379/1
RedisBus: redis://:odyredis@localhost:6379/2
# AsynqueryRequestsConnURL is Redis database where asynquery will be listening for finalized uploads requests.
# This corresponds to AsynqueryRequestsConnURL in forklift.yml config.
AsynqueryRequestsConnURL: redis://:odyredis@localhost:6379/3
SturdyCache:
Master: localhost:6379
Replicas:
- localhost:6379
Password: odyredis
ReflectorUpstream:
DatabaseDSN: 'user:password@tcp(localhost:3306)/blobs'
Endpoint: http://local
Region: us-east-1
Bucket: blobs
Key: key
Secret: secret
Logging:
Level: debug
Format: console