-
Notifications
You must be signed in to change notification settings - Fork 5
/
config.toml-example
42 lines (35 loc) · 1.11 KB
/
config.toml-example
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
Mode = "debug"
ApiListen = ":8080"
DatabaseURL = "root:password@tcp(localhost:3306)/titan_explorer?charset=utf8mb4&parseTime=True&loc=Local"
QuestDatabaseURL = "root:password@tcp(localhost:3306)/titan_quest?charset=utf8mb4&parseTime=True&loc=Local"
SecretKey = "test"
RedisAddr = "127.0.0.1:6379"
RedisPassword = ""
EtcdAddress="127.0.0.1:2379"
FilecoinRPCServerAddress = "http://api.node.glif.io/rpc/v0"
[Statistic]
Disable = false
StartTime = "2024-03-08 00:00:00"
EndTime = "2024-03-08 11:50:00"
Crontab = "0 */1 * * * *"
[Email]
From = "[email protected]"
Nickname = "Titan Network"
SMTPHost = "smtp.gmail.com"
SMTPPort = "587"
Username = "[email protected]"
Password = "app passowrd"
[IpDataCloud]
Url = "https://api.ipdatacloud.com/v2/query"
Key = "ip data cloud key"
[ContainerManager]
Addr = "http://127.0.0.1:6123/rpc/v0"
Token = ""
[Epoch]
Token = "TTN1"
[Oss]
AccessId = "access key id"
AccessKey = "access key secret"
Endpoint = "oss-cn-shenzhen.aliyuncs.com"
Bucket = "titan-file01"
Host = "titan-file01.oss-cn-shenzhen.aliyuncs.com"