-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
44 lines (44 loc) · 1.11 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
version: '3.7'
services:
climbr_es:
image: docker.elastic.co/elasticsearch/elasticsearch:7.9.2
container_name: climbr_es
environment:
- node.name=climbr_es
- cluster.name=es-docker-cluster
- cluster.initial_master_nodes=climbr_es
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- data01:/usr/share/elasticsearch/data
ports:
- 9200:9200
restart: always
climbr_kibana:
image: docker.elastic.co/kibana/kibana:7.9.2
container_name: climbr_kibana
ports:
- 5601:5601
environment:
ELASTICSEARCH_URL: http://climbr_es:9200
ELASTICSEARCH_HOSTS: http://climbr_es:9200
depends_on:
- climbr_es
restart: always
climbr_cli:
build: ./
container_name: climbr_cli
volumes:
- ./:/workspace/
depends_on:
- climbr_kibana
command: bash -c "python ./climbr.py init -f && tail -f
/workspace/logs/cli/climbr.log"
restart: always
volumes:
data01:
driver: local