forked from JohnMcLear/draw
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsettings.json.template
59 lines (49 loc) · 1.63 KB
/
settings.json.template
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
/*
This file must be valid JSON. But comments are allowed
Please edit settings.json, not settings.json.template
*/
{
//IP and port which etherpad should bind at
"ip" : "0.0.0.0",
"port" : 9002,
// Uncomment to remove rooms after a certain amount of time of inactivity.
// Value can either be just a number (for the number of seconds), or a
// a number and a unit (min, hr, or day).
// "removeUnused": "1day",
// Uncomment the following line to require the given password to be entered
// before all drawings can be edited
// "editPassword": "changeme",
// The edit password can also be an object containing room names and
// passwords as key/value pairs
// "editPassword": {
// "protected": "protectedpassword"
// },
// Uncomment to add a timeout on authentication tokens. Value can either be
// just a number (for the number of seconds), or a number and a unit
// (min, hr, or day)
// "authenticationTimeout": "1day",
//The Type of the database. You can choose between dirty, postgres, sqlite and mysql
//You shouldn't use "dirty" for for anything else than testing or development
"dbType" : "dirty",
//the database specific settings
"dbSettings" : {
"filename" : "var/dirty.db"
},
/* An Example of MySQL Configuration
"dbType" : "mysql",
"dbSettings" : {
"user" : "root",
"host" : "localhost",
"password": "",
"database": "etherdraw"
},
*/
/* The default selected tool - 'pencil', 'brush', 'select' */
"tool": "brush"
/* Example SSL Configuration
"ssl" : {
"key": "/path/to/key.key",
"cert": "/path/to/cert.crt"
}
*/
}