-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
75 lines (70 loc) · 1.54 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
version: '3'
services:
elasticsearch:
init: true
image: elasticsearch:7.17.0
container_name: elasticsearch
logging:
driver: "none"
volumes:
- type: bind
source: ./elasticsearch/data
target: /usr/share/elasticsearch/data
ports:
- "9200:9200"
- "9300:9300"
networks:
- elastic-stack
environment:
- bootstrap.memory_lock=true
- discovery.type=single-node
- xpack.security.enabled=false
- "ES_JAVA_OPTS=-Xms256M -Xmx256M"
ulimits:
memlock:
soft: -1
hard: -1
kibana:
init: true
image: kibana:7.17.0
container_name: kibana
logging:
driver: "none"
volumes:
- type: bind
source: ./kibana/data
target: /usr/share/kibana/data
ports:
- "5601:5601"
networks:
- elastic-stack
environment:
- SERVERNAME=kibana
- ELASTICSEARCH_HOSTS=http://elasticsearch:9200
depends_on:
- elasticsearch
timings:
init: true
# image: godaddy/timings:2.0.2
image: godaddy/timings:2.0.3
container_name: timings
volumes:
- "${CONFIGFILE}:/src/config/default.json"
- ./timings/logs:/timings/logs
ports:
- "8080:8080"
networks:
- elastic-stack
environment:
NODE_ENV: "production"
ES_HOST: "elasticsearch"
KB_HOST: "kibana"
API_HOST: "$HOSTNAME"
DEBUG: "true"
IS_DOCKER: "true"
depends_on:
- elasticsearch
- kibana
command: ['node', './server.js']
networks:
elastic-stack: