Added env-PATH and more mimetypes to cloudooo.conf.in
[slapos.git] / slapos / recipe / cloudooo / template / cloudooo.cfg.in
1 [app:main]
2 use = egg:cloudooo
3 #
4 ## System config
5 #
6 debug_mode = True
7 # Folder where pid files, lock files and virtual frame buffer mappings
8 # are stored. In this folder is necessary create a folder tmp, because this
9 # folder is used to create all temporary documents.
10 working_path = %(working_path)s
11 # Folder where UNO library is installed
12 uno_path = %(uno_path)s
13 # Folder where soffice.bin is installed
14 office_binary_path = %(office_binary_path)s
15 #
16 ## Monitor Settings
17 #
18 # Limit to use the Openoffice Instance. if pass of the limit, the instance is
19 # stopped and another is started.
20 limit_number_request = 100
21 # Interval to check the factory
22 monitor_interval = 10
23 timeout_response = 180
24 enable_memory_monitor = True
25 # Set the limit in MB
26 # e.g 1000 = 1 GB, 100 = 100 MB
27 limit_memory_used = 3000
28 #
29 ## OOFactory Settings
30 #
31 # The pool consist of several OpenOffice.org instances
32 application_hostname = %(ip)s
33 # OpenOffice Port
34 openoffice_port = %(openoffice_port)s
35 # LD_LIBRARY_PATH passed to OpenOffice
36 env-LD_LIBRARY_PATH = %(LD_LIBRARY_PATH)s
37
38 #
39 # Mimetype Registry
40 # It is used to select the handler that will be used in conversion.
41 # Priority matters, first match take precedence on next lines.
42 mimetype_registry =
43   application/pdf * ooo
44   video/* * ffmpeg
45   audio/* * ffmpeg
46   application/x-shockwave-flash * ffmpeg
47   application/ogg * ffmpeg
48   application/ogv * ffmpeg
49   image/* * ooo
50   text/* * ooo
51   application/zip * ooo
52   application/msword * ooo
53   application/vnd* * ooo
54   application/x-vnd* * ooo
55   application/postscript * ooo
56   application/wmf * ooo
57   application/csv * ooo
58   application/x-openoffice-gdimetafile * ooo
59   application/x-emf * ooo
60   application/emf * ooo
61   application/octet* * ooo
62   * application/vnd.oasis.opendocument* ooo
63
64 [server:main]
65 use = egg:PasteScript#wsgiutils
66 host = %(ip)s
67 port = %(port)s