-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.cfg
More file actions
30 lines (30 loc) · 897 Bytes
/
main.cfg
File metadata and controls
30 lines (30 loc) · 897 Bytes
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
{
"mysql":{
"endpoint":"root:123456@tcp(localhost:3306)/snowflake"
},
"redis": {
"endpoint": "redis://:123456@127.0.0.1:6379/0?dial_timeout=1&read_timeout=1s&max_retries=2"
},
"wss_endpoints": [
"wss://ethereum.blockpi.network/v1/ws/"
],
"https_endpoints": [
"https://ethereum.blockpi.network/v1/rpc/"
],
"example":{
"debug": true,
"logout": "stdout",
"timeout_seconds": 10,
"pprof":"0.0.0.0:8000",
"controller":"0.0.0.0:9000",
"app_interval_seconds": 1,
"web_listen":"0.0.0.0:20000",
"web_signature":"Your signature address",
"web_headers":"Origin, Content-Type, Accept",
"web_jwt_secret":"Your jwt secret",
"web_allow_origins":"http://127.0.0.1:20000,https://example.app,https://*.example.app",
"web_directory":{
"/images/albums":"./images/albums/"
}
}
}