cloudooo.cfg.in 1.9 KB
Newer Older
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
[app:main]
use = egg:cloudooo
#
## System config
#
debug_mode = True
# Folder where pid files, lock files and virtual frame buffer mappings
# are stored. In this folder is necessary create a folder tmp, because this
# folder is used to create all temporary documents.
working_path = %(working_path)s
# Folder where UNO library is installed
uno_path = %(uno_path)s
# Folder where soffice.bin is installed
office_binary_path = %(office_binary_path)s
#
## Monitor Settings
#
# Limit to use the Openoffice Instance. if pass of the limit, the instance is
# stopped and another is started.
limit_number_request = 100
# Interval to check the factory
monitor_interval = 10
timeout_response = 180
enable_memory_monitor = True
# Set the limit in MB
# e.g 1000 = 1 GB, 100 = 100 MB
limit_memory_used = 3000
#
## OOFactory Settings
#
# The pool consist of several OpenOffice.org instances
Priscila Manhaes's avatar
Priscila Manhaes committed
32
application_hostname = %(ip)s
33 34
# OpenOffice Port
openoffice_port = %(openoffice_port)s
Priscila Manhaes's avatar
TYPO  
Priscila Manhaes committed
35
env-PATH = %(PATH)s
36 37 38 39 40 41 42 43
# LD_LIBRARY_PATH passed to OpenOffice
env-LD_LIBRARY_PATH = %(LD_LIBRARY_PATH)s

#
# Mimetype Registry
# It is used to select the handler that will be used in conversion.
# Priority matters, first match take precedence on next lines.
mimetype_registry =
Priscila Manhaes's avatar
TYPO  
Priscila Manhaes committed
44
  application/pdf text/* pdf
45 46 47 48 49 50
  application/pdf * ooo
  video/* * ffmpeg
  audio/* * ffmpeg
  application/x-shockwave-flash * ffmpeg
  application/ogg * ffmpeg
  application/ogv * ffmpeg
51
  image/png image/jpeg imagemagick
52 53
  image/png * ooo
  image/* image/* imagemagick
54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
  text/* * ooo
  application/zip * ooo
  application/msword * ooo
  application/vnd* * ooo
  application/x-vnd* * ooo
  application/postscript * ooo
  application/wmf * ooo
  application/csv * ooo
  application/x-openoffice-gdimetafile * ooo
  application/x-emf * ooo
  application/emf * ooo
  application/octet* * ooo
  * application/vnd.oasis.opendocument* ooo

[server:main]
Priscila Manhaes's avatar
Priscila Manhaes committed
69
use = egg:PasteScript#wsgiutils
70 71
host = %(ip)s
port = %(port)s