Publish sphinx urls
[slapos.git] / software / erp5 / instance-erp5-production.cfg
1 #############################
2 #
3 # Request erp5 production environnment
4 #
5 #############################
6 [buildout]
7
8 parts =
9   request-mariadb
10   request-sphinx
11   request-cloudooo
12   request-memcached
13   request-kumofs
14   request-tidstorage
15   basedirectory
16
17 eggs-directory = ${buildout:eggs-directory}
18 develop-eggs-directory = ${buildout:develop-eggs-directory}
19 offline = true
20
21 [request-common]
22 recipe = slapos.cookbook:request
23 software-url = $${slap-connection:software-release-url}
24 sla = computer_guid
25 sla-computer_guid = $${slap-connection:computer-id}
26 return = url
27 server-url = $${slap-connection:server-url}
28 key-file = $${slap-connection:key-file}
29 cert-file = $${slap-connection:cert-file}
30 computer-id = $${slap-connection:computer-id}
31 partition-id = $${slap-connection:partition-id}
32
33 [request-sphinx]
34 <=request-common
35 name = Sphinx Search Engine
36 software-type = sphinx
37
38 [request-mariadb]
39 <=request-common
40 name = MariaDB DataBase
41 software-type = mariadb
42
43 [request-cloudooo]
44 <=request-common
45 name = Cloudooo
46 software-type = cloudooo
47
48 [request-memcached]
49 <=request-common
50 name = Memcached
51 software-type = memcached
52
53 [request-kumofs]
54 <=request-common
55 name = KumoFS
56 software-type = kumofs
57
58 [request-tidstorage]
59 <=request-common
60 name = TidStorage
61 return = url-login
62 config = json mysql-url memcached-url cloudooo-url kumofs-url
63 config-json = $${slap-parameter:json}
64 config-mysql-url = $${request-mariadb:connection-url}
65 config-memcached-url = $${request-memcached:connection-url}
66 config-cloudooo-url = $${request-cloudooo:connection-url}
67 config-kumofs-url = $${request-kumofs:connection-url}
68 software-type = tidstorage
69
70 # rest of parts are candidates for some generic stuff
71 [basedirectory]
72 recipe = slapos.cookbook:mkdirectory
73 services = $${rootdirectory:etc}/run
74
75 [rootdirectory]
76 recipe = slapos.cookbook:mkdirectory
77 etc = $${buildout:directory}/etc