Skip to content

Commit 1903e64

Browse files
committed
updated for couchbase r4
1 parent 7de2620 commit 1903e64

File tree

1 file changed

+34
-23
lines changed

1 file changed

+34
-23
lines changed

docker-compose.yml

Lines changed: 34 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -4,44 +4,55 @@
44
consul:
55
image: progrium/consul:latest
66
command: -server -bootstrap -ui-dir /ui
7-
mem_limit: 256m
7+
restart: always
8+
mem_limit: 128m
89
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
1516
dns:
1617
- 127.0.0.1
17-
restart: always
1818

1919
#
2020
# Manually bootstrap the first instance, then...
2121
# Scale this tier and each additional container/instance will automatically self-configure as a member of the cluster
2222
#
2323
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
2726
mem_limit: 4096m
27+
links:
28+
- consul
2829
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
3742

3843
#
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
4051
#
4152
benchmark:
4253
image: misterbisson/couchbase-cloud-benchmark
54+
restart: always
55+
mem_limit: 1024m
4356
command: start.bash
4457
links:
45-
- consul
46-
mem_limit: 1024m
47-
restart: always
58+
- consul

0 commit comments

Comments
 (0)