-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdocker-compose.yml
58 lines (56 loc) · 1.29 KB
/
docker-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
50
51
52
53
54
55
56
57
58
#
# Using a single Consul host is _highly_ discouraged, but yolo
#
consul:
image: progrium/consul:latest
command: -server -bootstrap -ui-dir /ui
restart: always
mem_limit: 128m
ports:
- 53
- 8300
- 8301
- 8302
- 8400
- 8500
dns:
- 127.0.0.1
#
# Manually bootstrap the first instance, then...
# Scale this tier and each additional container/instance will automatically self-configure as a member of the cluster
#
couchbase:
image: misterbisson/triton-couchbase:enterprise-4.0.0-r1
restart: always
mem_limit: 4096m
links:
- consul
ports:
- 8091
- 8092
- 11207
- 11210
- 11211
- 18091
- 18092
environment:
- CONSUL_HOST=http://consul:8500
- COUCHBASE_SERVICE_NAME=couchbase
- COUCHBASE_USER=Administrator
- COUCHBASE_PASS=password
#
# A dummy client to create some load
#
# This container is is not configurable and expects the following:
# CONSUL_HOST=http://consul:8500
# COUCHBASE_SERVICE_NAME=couchbase
# COUCHBASE_USER=Administrator
# COUCHBASE_PASS=password
#
benchmark:
image: misterbisson/couchbase-cloud-benchmark
restart: always
mem_limit: 1024m
command: start.bash
links:
- consul