slaprunner: git repos should'n be always readable by anonymous
[slapos.git] / software / dream / instance.cfg
1 [buildout]
2 parts =
3   dream_simulation
4   dream_platform
5   publish-connection-parameter
6
7 eggs-directory = ${buildout:eggs-directory}
8 develop-eggs-directory = ${buildout:develop-eggs-directory}
9 offline = true
10
11 [instance-parameter]
12 recipe = slapos.cookbook:slapconfiguration
13 computer = $${slap_connection:computer_id}
14 partition = $${slap_connection:partition_id}
15 url = $${slap_connection:server_url}
16 key = $${slap_connection:key_file}
17 cert = $${slap_connection:cert_file}
18
19 port = 5000
20 host = $${slap-network-information:local-ipv4}
21
22 [dream_platform]
23 recipe = slapos.cookbook:wrapper
24 command-line = ${buildout:bin-directory}/dream_platform --host $${instance-parameter:host} --port $${instance-parameter:port}
25 wrapper-path = $${directory:service}/dream_platform
26 parameters-extra = true
27
28 [dream_simulation]
29 recipe = slapos.cookbook:wrapper
30 command-line = ${buildout:bin-directory}/dream_simulation
31 wrapper-path = $${directory:script}/dream_simulation
32 parameters-extra = true
33
34 [directory]
35 recipe = slapos.cookbook:mkdirectory
36 home = $${buildout:directory}
37 etc = $${:home}/etc
38 var = $${:home}/var
39 script = $${:etc}/run/
40 service = $${:etc}/service
41 promise = $${:etc}/promise/
42 log = $${:var}/log
43
44 [publish-connection-parameter]
45 recipe = slapos.cookbook:publishurl
46 url = http://$${instance-parameter:host}:$${instance-parameter:port}
47
48 ; FIXME: how to enable this without "switch" swoftare type ?
49 [slap-network-information]
50 local-ipv4 = 0.0.0.0