-
Notifications
You must be signed in to change notification settings - Fork 10
/
docker-compose.yml
74 lines (71 loc) · 1.51 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
version: '3'
services:
app:
image: 'app'
build:
dockerfile: Dockerfile
context: ./app
ports:
- "5000:5000"
depends_on:
- janus
- elasticsearch
janus:
image: janusgraph:0.2.1-hadoop2
build:
dockerfile: Dockerfile
args:
version: 0.2.1
hadoop: hadoop2
context: ./janus
ports:
- "8182:8182"
- "8184:8184"
depends_on:
- elasticsearch
- scylladb
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:6.0.1
environment:
- discovery.type=single-node
- cluster.name=docker-cluster
# - bootstrap.memory_lock=true
- xpack.security.enabled=false
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ports:
- "9200:9200"
- "9300:9300"
volumes:
- "./data/elasticsearch:/usr/share/elasticsearch/data"
scylladb:
image: scylladb/scylla:2.2.0
volumes:
- ./data/scylla/data:/var/lib/scylla
ports:
# REST API
- "10000:10000"
# CQL ports (native_transport_port)
- "9042:9042"
# Thrift (rpc_port)
- "9160:9160"
# Internode
- "7000:7000"
- "7001:7001"
# JMX
- "7199:7199"
# Prometheus monitoring
- "9180:9180"
- "9100:9100"
logstash:
image: logstash
build:
dockerfile: Dockerfile
context: ./logstash
depends_on:
- elasticsearch
# kibana:
# image: docker.elastic.co/kibana/kibana:6.0.1
# depends_on:
# - elasticsearch
# ports:
# - "5601:5601"