-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
46 lines (45 loc) · 1.02 KB
/
docker-compose.yaml
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
version: "2"
services:
zookeeper:
image: jplock/zookeeper:3.4.8
container_name: zookeeper-only
ports:
- "2181:2181"
- "2888:2888"
- "3888:3888"
solr-master:
image: solr:6.2.1
hostname: solr-master
container_name: solr-master
ports:
- "8983:8983"
links:
- zookeeper
command: bash -c "/opt/solr/bin/solr start -f -z zookeeper:2181"
solr-2:
image: solr:6.2.1
hostname: solr-2
container_name: solr-2
links:
- zookeeper
- solr-master
command: bash -c "/opt/solr/bin/solr start -f -z zookeeper:2181"
solr-3:
image: solr:6.2.1
hostname: solr-3
container_name: solr-3
links:
- zookeeper
- solr-master
- solr-2
command: bash -c "/opt/solr/bin/solr start -f -z zookeeper:2181"
solr-4:
image: solr:6.2.1
hostname: solr-4
container_name: solr-4
links:
- zookeeper
- solr-master
- solr-2
- solr-3
command: bash -c "/opt/solr/bin/solr start -f -z zookeeper:2181"