forked from UnderMybrella/EternalJukebox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config_template.json
40 lines (39 loc) · 1.71 KB
/
config_template.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
{
"baseDomainComment": "The base domain",
"baseDomain": "<domain>",
"portComment": "What port we're running on",
"port": "<port>",
"spotifyClientComment": "Spotify Client / Secret; make an application over here: https://developer.spotify.com/my-applications/",
"spotifyClient": "<spotifyClient>",
"spotifySecret": "<spotifySecret>",
"googleClientComment": "Only needed if you're doing oauth logins",
"googleClient": "<googleClient>",
"googleSecret": "<googleSecret>",
"storageComment": "These can be any folders you want",
"storageType": "LOCAL",
"storageOptions": {
"ANALYSIS_FOLDER": "data/analysis",
"AUDIO_FOLDER": "data/audio",
"EXTERNAL_AUDIO_FOLDER": "data/external_audio",
"UPLOADED_AUDIO_FOLDER": "data/uploaded_audio",
"PROFILE_FOLDER": "data/profile",
"LOG_FOLDER": "data/log"
},
"audioSourceComment": "If not provided, local audio should work",
"audioSourceType": "YOUTUBE",
"audioSourceOptions": {
"apiKeyComment": "This can be obtained from here: https://developers.google.com/youtube/v3/getting-started",
"apiKey": "<API_KEY>"
},
"workerExecuteTimeComment": "How long blocking workers can go for (in ns)",
"workerExecuteTime": 1200000000000
"databaseTypeComment": "Can either be JDBC or H2",
"databaseTypeComment2": "If H2, you'll need to provide 'databaseName' under options, or leave it blank to default to 'eternal_jukebox'",
"databaseTypeComment3": "The values below are only needed if you're connecting to something like a MySQL database",
"databaseType": "JDBC",
"databaseOptions": {
"username": "<sql_username>",
"password": "<sql_password>",
"jdbcUrl": "jdbc:<sql_type>://<sql_host>:<sql_port>/<sql_database_name>?useSSL=false"
}
}