Publish sphinx urls
[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
32 # Binary information
33 # cloudooo specific configuration
34 ooo-binary-path = ${libreoffice-bin:location}/program
35 ooo-paster = ${buildout:bin-directory}/cloudooo_paster
36 ooo-uno-path = ${libreoffice-bin:location}/basis-link/program
37
38 # rest of parts are candidates for some generic stuff
39 [basedirectory]
40 recipe = slapos.cookbook:mkdirectory
41 services = $${rootdirectory:etc}/run
42
43 [directory]
44 recipe = slapos.cookbook:mkdirectory
45 cloudooo-data = $${rootdirectory:srv}/cloudooo
46
47 [rootdirectory]
48 recipe = slapos.cookbook:mkdirectory
49 etc = $${buildout:directory}/etc
50 srv = $${buildout:directory}/srv