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