-
Notifications
You must be signed in to change notification settings - Fork 2
/
appsettings.json
117 lines (117 loc) · 3.66 KB
/
appsettings.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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
"Serilog": {
"LevelSwitches": { "$controlSwitch": "Information" },
"MinimumLevel": {
"ControlledBy": "$controlSwitch",
"Override": {
"Microsoft": "Warning",
"System": "Warning",
"Azure": "Warning"
}
},
"WriteTo": [
{
"Name": "Seq",
"Args": {
"serverUrl": "http://host.docker.internal:5432",
"apiKey": "39pzU3sp9JqYqGqnTboN",
"controlLevelSwitch": "$controlSwitch"
}
},
{
"Name": "Console",
"Args": {
"theme": "Serilog.Sinks.SystemConsole.Themes.AnsiConsoleTheme::Code, Serilog.Sinks.Console",
"outputTemplate": "{Timestamp:HH:mm:ss} [{Level:u3}] {Message:lj} <{SourceContext}>{NewLine}{Exception}"
}
}
]
},
"Service": {
//"JobService": "AzureContainerInstance",
"JobService": "Kubernetes",
//"JobService": "Docker",
"StorageService": "AzureBlobStorage",
//"StorageService": "S3",
"DatabaseService": "AzureCosmosDB"
//"DatabaseService": "ApacheCouchDB",
},
"Azure": {
"ContainerInstance": {
"ClientSecret": {
"TenantID": "",
"ClientID": "",
"ClientSecret": ""
},
"ResourceGroupName": "Livestream-Recorder"
},
"BlobStorage": {
"StorageAccountName": "livestreamrecorder",
"StorageAccountKey": "",
"BlobContainerName_Private": "livestream-recorder",
"BlobContainerName_Public": "livestream-recorder-public",
"RetentionDays": 4
},
"CosmosDB": {
"Public": {
"DatabaseName": "Public",
"ConnectionStrings": ""
},
"Private": {
"DatabaseName": "Private",
"ConnectionStrings": ""
}
}
},
"CouchDB": {
"Endpoint": "http://localhost:5984",
// This account should have read/write access to the databases
"Username": "admin",
"Password": "admin"
},
"Kubernetes": {
"UseTheSameCluster": true,
"Namespace": "recordermoe",
// Only used when UseTheSameCluster is false
"ConfigFile": "/absolute/path/to/your/.kube/config"
},
"S3": {
"Endpoint": "s3.recorder.moe",
// Https
"Secure": true,
"AccessKey": "adsfsdfasfdASDFASD",
"SecretKey": "dsfsadfdsfsdfsdfsdfsdfsasdffsdfsdf",
"BucketName_Private": "livestream-recorder",
"BucketName_Public": "livestream-recorder-public",
"RetentionDays": 4
},
"Twitch": {
"Enabled": true,
"ClientId": "",
"ClientSecret": ""
},
"Discord": {
"Enabled": true,
"Webhook": "",
"WebhookWarning": "",
"WebhookAdmin": "",
"FrontEndHost": "demo.recorder.moe",
"Mention": {
"Channel": "<@&1088065141721022535>",
"Deleted": "<@&1088065179855618108>",
"Admin": "<@&1068992903797542934>"
},
"Emotes": {
"RecorderMoe": "<:logo:1087793006922436748>",
"Youtube": "<:youtube:1087785692605722767>",
"Twitch": "<:twitch:1087786596138491934>",
"Twitcasting": "<:twitcasting:1087785961963929742>",
"FC2": "<:fc2:1113124319346823240>"
}
},
"Heartbeat": {
"Enabled": false,
"Endpoint": "",
"Interval": 300
}
}