-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathlocal-compose.yml
49 lines (47 loc) · 1.01 KB
/
local-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
cosbench-driver:
image: joyent/cosbench-manta:latest
restart: always
mem_limit: 2g
environment:
- CONSUL=consul
- MODE=driver
- CONSUL_AGENT=1
- JAVA_OPTS=-Xmx1500m
- LISTENING_PORT=18088
expose:
- 18088
links:
- consul:consul
cosbench-controller:
image: joyent/cosbench-manta:latest
restart: always
mem_limit: 1g
environment:
- CONSUL=consul
- MODE=controller
- CONSUL_AGENT=1
- JAVA_OPTS=-Xmx800m
- LISTENING_PORT=19088
ports:
- 19088:19088
links:
- consul:consul
- cosbench-driver
# Start with a single host which will bootstrap the cluster.
# In production we'll want to use an HA cluster.
consul:
image: consul:v0.7.0
restart: always
mem_limit: 128m
expose:
- 53
- 8300
- 8301
- 8302
- 8400
- 8500
ports:
- 8500
dns:
- 127.0.0.1
command: agent -server -client=0.0.0.0 -bootstrap -ui