Fixup 883b3630427d3d777374cdce4c727f6db80dff3b
[slapos.git] / software / erp5 / instance-cloudooo.cfg
1 [buildout]
2 parts =
3   publish-cloudooo-connection-information
4   cloudooo-instance
5
6 eggs-directory = ${buildout:eggs-directory}
7 develop-eggs-directory = ${buildout:develop-eggs-directory}
8 offline = true
9
10 [publish-cloudooo-connection-information]
11 recipe = slapos.cookbook:publishurl
12 url = cloudooo://$${cloudooo-instance:ip}:$${cloudooo-instance:port}/
13
14 [cloudooo-instance]
15 recipe = slapos.cookbook:generic.cloudooo
16
17 # Network options
18 ip = $${slap-network-information:local-ipv4}
19 port = 23000
20 openoffice-port = 23060
21
22 # Paths
23 configuration-file = $${rootdirectory:etc}/cloudooo.cfg
24 wrapper = $${basedirectory:services}/cloudooo
25
26 # Paths: Data
27 data-directory = $${directory:cloudooo-data}
28
29 environment =
30   LD_LIBRARY_PATH = ${file:location}/lib:${fontconfig:location}/lib:${freetype:location}/lib:${libICE:location}/lib:${libSM:location}/lib:${libX11:location}/lib:${libXau:location}/lib:${libXdmcp:location}/lib:${libXext:location}/lib:${libXinerama:location}/lib:${libxcb:location}/lib:${zlib:location}/lib
31   FONTCONFIG_FILE = $${fontconfig-instance:conf-path}
32
33 # Binary information
34 # cloudooo specific configuration
35 ooo-binary-path = ${libreoffice-bin:location}/program
36 ooo-paster = ${buildout:bin-directory}/cloudooo_paster
37 ooo-uno-path = ${libreoffice-bin:location}/basis-link/program
38
39 [fontconfig-instance]
40 recipe = slapos.cookbook:fontconfig
41 conf-path = $${rootdirectory:etc}/font.conf
42 font-system-folder = ${fonts:location}
43 font-folder = $${directory:font}
44 url-list = $${dynamic-fontconfig-instance:url-list}
45 service-folder = $${basedirectory:services}
46 onetimedownload_path = ${buildout:bin-directory}/onetimedownload
47
48 # rest of parts are candidates for some generic stuff
49 [basedirectory]
50 recipe = slapos.cookbook:mkdirectory
51 services = $${rootdirectory:etc}/run
52
53 [directory]
54 recipe = slapos.cookbook:mkdirectory
55 cloudooo-data = $${rootdirectory:srv}/cloudooo
56 font = $${rootdirectory:srv}/font
57
58 [rootdirectory]
59 recipe = slapos.cookbook:mkdirectory
60 etc = $${buildout:directory}/etc
61 srv = $${buildout:directory}/srv