forked from LAW-Unimi/BUbiNG
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
69 lines (64 loc) · 1.59 KB
/
docker-compose.yml
File metadata and controls
69 lines (64 loc) · 1.59 KB
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
version: '3'
services:
crawler:
build:
context: .
dockerfile: ./compose/Dockerfile
container_name: bubing_crawler
image: bubing_crawler
depends_on:
- kibana
env_file:
- ./.envs/.crawler
volumes:
- bubing_crawler_data:/usr/share/crawler/data
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536 # maximum number of open files for the Elasticsearch user, set to at least 65536 on modern systems
hard: 65536
networks:
- bubing-net
elasticsearch:
build:
context: .
dockerfile: ./compose/elasticsearch/Dockerfile
container_name: bubing_elasticsearch
image: bubing_elasticsearch
env_file:
- ./.envs/.elasticsearch
volumes:
- bubing_elasticsearch_data:/usr/share/elasticsearch/data
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536 # maximum number of open files for the Elasticsearch user, set to at least 65536 on modern systems
hard: 65536
ports:
- 9200:9200
- 9600:9600 # required for Performance Analyzer
networks:
- bubing-net
kibana:
image: amazon/opendistro-for-elasticsearch-kibana:latest
container_name: bubing_kibana
depends_on:
- elasticsearch
ports:
- 5601:5601
expose:
- "5601"
environment:
ELASTICSEARCH_URL: https://bubing_elasticsearch:9200
ELASTICSEARCH_HOSTS: https://bubing_elasticsearch:9200
networks:
- bubing-net
volumes:
bubing_crawler_data:
bubing_elasticsearch_data:
networks:
bubing-net: