upgrade etherpad
[ansible.git] / roles / etherpad / templates / settings.json
1 /*
2   This file must be valid JSON. But comments are allowed
3
4   Please edit settings.json, not settings.json.template
5 */
6 {
7   "skinName": "colibris",
8
9   //IP and port which etherpad should bind at
10   "ip": "127.0.0.1",
11   "port" : 9001,
12
13   //The Type of the database. You can choose between dirty, postgres, sqlite and mysql
14   //You shouldn't use "dirty" for for anything else than testing or development
15    "dbType" : "mysql",
16    "dbSettings" : {
17                     "user"    : "etherpad",
18                     "host"    : "localhost",
19                     "password": "{{etherpad.mysql_password}}",
20                     "database": "etherpad"
21                   },
22
23   //the default text of a pad
24   "defaultPadText" : "{{etherpad.default_text}}",
25
26   /* Users must have a session to access pads. This effectively allows only group pads to be accessed. */
27   "requireSession" : false,
28
29   /* Users may edit pads but not create new ones. Pad creation is only via the API. This applies both to group pads and regular pads. */
30   "editOnly" : false,
31
32   /* if true, all css & js will be minified before sending to the client. This will improve the loading performance massivly,
33      but makes it impossible to debug the javascript/css */
34   "minify" : true,
35
36   /* How long may clients use served javascript code (in seconds)? Without versioning this
37      may cause problems during deployment. Set to 0 to disable caching */
38   "maxAge" : 21600, // 60 * 60 * 6 = 6 hours
39
40   /* This is the absolute path to the Abiword executable. Setting it to null, disables abiword.
41      Abiword is needed to advanced import/export features of pads*/
42   "abiword" : null,
43
44   /* This setting is used if you require authentication of all users.
45      Note: /admin always requires authentication. */
46   "requireAuthentication" : false,
47
48   /* Require authorization by a module, or a user with is_admin set, see below. */
49   "requireAuthorization" : false,
50
51   /* Users for basic authentication. is_admin = true gives access to /admin.
52      If you do not uncomment this, /admin will not be available! */
53
54   "users": {
55     "admin": {
56       "password": "{{etherpad.admin_password}}",
57       "is_admin": true
58     }
59   },
60
61   // restrict socket.io transport methods
62   "socketTransportProtocols" : ["xhr-polling", "jsonp-polling", "htmlfile"],
63
64   /* The log level we are using, can be: DEBUG, INFO, WARN, ERROR */
65   "loglevel": "WARN"
66 }