Publish sphinx urls
[slapos.git] / software / erp5 / instance-memcached.cfg
1 #############################
2 #
3 # Instanciate memcached
4 #
5 # No slapos parameter needed
6 #
7 #############################
8 [buildout]
9 parts =
10   memcached-instance
11   publish-memcached-connection-information
12
13 eggs-directory = ${buildout:eggs-directory}
14 develop-eggs-directory = ${buildout:develop-eggs-directory}
15 offline = true
16
17 [rootdirectory]
18 recipe = slapos.cookbook:mkdirectory
19 etc = $${buildout:directory}/etc
20 bin = $${buildout:directory}/bin
21
22 [basedirectory]
23 recipe = slapos.cookbook:mkdirectory
24 services = $${rootdirectory:etc}/run
25
26 [memcached-instance]
27 recipe = slapos.cookbook:generic.memcached
28 wrapper_path = $${basedirectory:services}/memcached
29 binary_path = ${memcached:location}/bin/memcached
30 ip = $${slap-network-information:local-ipv4}
31 port = 11000
32
33 [publish-memcached-connection-information]
34 recipe = slapos.cookbook:publishurl
35 url = memcached://$${memcached-instance:ip}:$${memcached-instance:port}/