File tree Expand file tree Collapse file tree 1 file changed +34
-23
lines changed Expand file tree Collapse file tree 1 file changed +34
-23
lines changed Original file line number Diff line number Diff line change 4
4
consul :
5
5
image : progrium/consul:latest
6
6
command : -server -bootstrap -ui-dir /ui
7
- mem_limit : 256m
7
+ restart : always
8
+ mem_limit : 128m
8
9
ports :
9
- - 53
10
- - 8300
11
- - 8301
12
- - 8302
13
- - 8400
14
- - 8500
10
+ - 53
11
+ - 8300
12
+ - 8301
13
+ - 8302
14
+ - 8400
15
+ - 8500
15
16
dns :
16
17
- 127.0.0.1
17
- restart : always
18
18
19
19
#
20
20
# Manually bootstrap the first instance, then...
21
21
# Scale this tier and each additional container/instance will automatically self-configure as a member of the cluster
22
22
#
23
23
couchbase :
24
- image : misterbisson/triton-couchbase:enterprise-3.0.3-r3
25
- links :
26
- - consul
24
+ image : misterbisson/triton-couchbase:enterprise-3.0.3-r4
25
+ restart : always
27
26
mem_limit : 4096m
27
+ links :
28
+ - consul
28
29
ports :
29
- - 8091
30
- - 8092
31
- - 11207
32
- - 11210
33
- - 11211
34
- - 18091
35
- - 18092
36
- restart : always
30
+ - 8091
31
+ - 8092
32
+ - 11207
33
+ - 11210
34
+ - 11211
35
+ - 18091
36
+ - 18092
37
+ environment :
38
+ - CONSUL_HOST=http://consul:8500
39
+ - COUCHBASE_SERVICE_NAME=couchbase
40
+ - COUCHBASE_USER=Administrator
41
+ - COUCHBASE_PASS=password
37
42
38
43
#
39
- # Benchmarks, for fun and sparkles
44
+ # A dummy client to create some load
45
+ #
46
+ # This container is is not configurable and expects the following:
47
+ # CONSUL_HOST=http://consul:8500
48
+ # COUCHBASE_SERVICE_NAME=couchbase
49
+ # COUCHBASE_USER=Administrator
50
+ # COUCHBASE_PASS=password
40
51
#
41
52
benchmark :
42
53
image : misterbisson/couchbase-cloud-benchmark
54
+ restart : always
55
+ mem_limit : 1024m
43
56
command : start.bash
44
57
links :
45
- - consul
46
- mem_limit : 1024m
47
- restart : always
58
+ - consul
You can’t perform that action at this time.
0 commit comments