-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathdocker-compose.yml
63 lines (61 loc) · 1.52 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
version: '2'
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch-oss:6.8.8
container_name: elasticsearch
hostname: elasticsearch
environment:
- cluster.name=elasticsearch
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1
command: elasticsearch -Ehttp.cors.enabled=true
volumes:
- /elasticsearch/data
# ports:
# - "9200:9200"
# - "9300:9300"
hbase:
image: hyness/hbase-rest-standalone
hostname: hbase
# ports:
# - "2181:2181"
# - "8080:8080"
# - "16000:16000"
# - "16010:16010"
# - "16020:16020"
# - "16030:16030"
volumes:
- /data/hbase
- /data/zookeeper
foxtrot-server:
depends_on:
- elasticsearch
- hbase
container_name: foxtrot_server
build: .
ports:
- "17000:17000"
- "17001:17001"
- "5701:5701"
volumes:
- /var/log/foxtrot-server
environment:
- INIT_SLEEP=15
- HOST=localhost
- ELASTICSEARCH_HOST=elasticsearch
- ELASTICSEARCH_PORT=9300
- ELASTICSEARCH_CLUSTER_NAME=elasticsearch
- ELASTICSEARCH_TABLE_NAME_PREFIX=foxtrot
- ELASTICSEARCH_PORT="9200"
- ELASTICSEARCH_PROTOCOL=http
- HBASE_TABLE_NAME=foxtrot
- HBASE_ZOOKEEPER_QUORUM=hbase
- HBASE_ZOOKEEPER_CLIENT_PORT=2181
- HAZELCAST_CLUSTER_NAME=foxtrot
- DISCOVERY_TYPE=foxtrot_simple
- SWAGGER_SCHEME="http"
- STARTUP_DELAY=15