-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
90 lines (90 loc) · 2.6 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
version: '2'
services:
kibana-elassandra:
image: qxip/kibana-elassandra:master
environment:
ELASTICSEARCH_URL: http://elassandra-seed:9200
stdin_open: true
tty: true
ports:
- 15601:5601/tcp
labels:
io.rancher.container.pull_image: always
elassandra-seed-volume:
image: busybox
entrypoint:
- /bin/true
network_mode: none
volumes:
- /var/lib/cassandra
- /var/log/cassandra
labels:
io.rancher.container.start_once: 'true'
io.rancher.container.hostname_override: container_name
elassandra-node1-volume:
image: busybox
entrypoint:
- /bin/true
network_mode: none
volumes:
- /var/lib/cassandra
- /var/log/cassandra
labels:
io.rancher.container.start_once: 'true'
io.rancher.container.hostname_override: container_name
elassandra-node2-volume:
image: busybox
entrypoint:
- /bin/true
network_mode: none
volumes:
- /var/lib/cassandra
- /var/log/cassandra
labels:
io.rancher.container.start_once: 'true'
io.rancher.container.hostname_override: container_name
elassandra-seed:
image: qxip/rancher-elassandra:latest
environment:
CASSANDRA_DC: ranch-elassandra-01
CASSANDRA_ENDPOINT_SNITCH: GossipingPropertyFileSnitch
CASSANDRA_RACK: ''
RANCHER_ENABLE: 'true'
RANCHER_SEED_SERVICE: elassandra-seed
tty: true
volumes_from:
- elassandra-seed-volume
labels:
io.rancher.sidekicks: elassandra-seed-volume
io.rancher.container.hostname_override: container_name
io.rancher.container.pull_image: always
elassandra-node1:
image: qxip/rancher-elassandra:latest
environment:
CASSANDRA_DC: ranch-elassandra-01
CASSANDRA_ENDPOINT_SNITCH: GossipingPropertyFileSnitch
CASSANDRA_RACK: ''
RANCHER_ENABLE: 'true'
RANCHER_SEED_SERVICE: elassandra-seed
tty: true
volumes_from:
- elassandra-node1-volume
labels:
io.rancher.sidekicks: elassandra-node1-volume
io.rancher.container.hostname_override: container_name
io.rancher.container.pull_image: always
elassandra-node2:
image: qxip/rancher-elassandra:latest
environment:
CASSANDRA_DC: ranch-elassandra-01
CASSANDRA_ENDPOINT_SNITCH: GossipingPropertyFileSnitch
CASSANDRA_RACK: ''
RANCHER_ENABLE: 'true'
RANCHER_SEED_SERVICE: elassandra-seed
tty: true
volumes_from:
- elassandra-node2-volume
labels:
io.rancher.sidekicks: elassandra-node2-volume
io.rancher.container.hostname_override: container_name
io.rancher.container.pull_image: always