-
Notifications
You must be signed in to change notification settings - Fork 1
/
appsettings.docker.json
59 lines (51 loc) · 1.76 KB
/
appsettings.docker.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
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"AllowedHosts": "*",
"dbtype": "sqlite",
// sqlite -> SQLite
// pg -> PostgreSQL
"dbstr": "data/data.db",
// for SQLite, it's only the filename (i.e., without "Filename=").
// for PostgreSQL, it's the connection string.
// (if undefined: "data/data.db" (sqlite) or error (pg))
"staticdir": "webapp",
// directory path to static web files
// (if undefined: not serve static files)
"storagedir": "data/storage",
// directory path to store track files
// (if undefined: "data/storage")
//"StorageUrlBase": "",
"NotesEnabled": true,
"DiscussionEnabled": true,
"TrackCommentsEnabled": true,
// comment feature switches
"Converters": [
{
"Name": "256k-lc.m4a",
"Format": "aac",
"Bitrate": 256,
"CommandLine": "ffmpeg -loglevel warning -i {0} -f wav - | fdkaac - --moov-before-mdat -p 2 -m 5 -o {1}",
"Auto": true // Start converting when the track is uploaded
},
{
"Name": "128k-lc.m4a",
"Format": "aac",
"Bitrate": 128,
"CommandLine": "ffmpeg -loglevel warning -i {0} -f wav - | fdkaac - --moov-before-mdat -p 2 -m 3 -o {1}"
},
// {
// "Name": "128k.ogg",
// "Format": "ogg",
// "Bitrate": 128,
// "CommandLine": "ffmpeg -i {0} -f wav - | oggenc2 - -o {1}"
// },
],
"passcode": ""
// if it's not empty, the user needs the passcode to access the website.
}