forked from minnojs/minno-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.docker.js
executable file
·67 lines (55 loc) · 1.36 KB
/
config.docker.js
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
const env = process.env;
module.exports = {
email_auth: {
user: '',
pass: ''
},
port: env.PORT,
/**
* Absolute path to the server files ???
**/
base_folder: env.MINNO_BASE_FOLDER,
mongo_url: env.MINNO_MONGO_URL,
server_url:env.MINNO_SERVER_URL,
maxFileSize: 20*1024*1024,
/**
* The password that admin gets initially
**/
admin_default_pass: 'admin123',
/*
* For creating temporary files
**/
dataFolder:'/data/tmp/',
/**
* Folder for server logs, relative to the server files
**/
logs_folder: 'data/logs',
/**
* The folder for all user data ???
**/
user_folder: './data/users',
relative_path: '/',
/**
* Url of minnojs dist folder
* For example:
* // //cdn.jsdelivr.net/gh/minnojs/[email protected]/dist/
**/
minnojsUrl: env.MINNO_PLAYER_URL,
dashboardUrl: env.MINNO_DASHBOARD_URL,
/**
* secrets for hashing
**/
hash_salt: '',
session_secret: 'shshshshshshshsh',
/**
* The user code for errorception
* https://errorception.com/
* You can extract your code from the settings within your profile
* If it is not set, errorception will simply not be activated
**/
errorception: '',
dropbox: {
client_id: '',
client_secret: ''
}
};