-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
64 lines (62 loc) · 1.31 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
version: '3'
services:
collector:
build:
context: .
dockerfile: Dockerfile.collector
env_file:
- .env
volumes:
- ./src/:/src
- ./dump_data/:/dump_data
depends_on:
- elasticsearch
networks:
- esnet
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:6.3.2
environment:
- discovery.type=single-node
- xpack.security.enabled=false
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- 'esdata:/usr/share/elasticsearch/data'
networks:
- esnet
kibana:
image: docker.elastic.co/kibana/kibana:6.3.2
depends_on: ['elasticsearch']
environment:
SERVER_NAME: slack-arxiv-kibana
ELASTICSEARCH_URL: "http://elasticsearch:9200"
networks:
- esnet
proxy:
build:
context: .
dockerfile: Dockerfile.proxy
env_file: .env
depends_on:
- kibana
networks:
- esnet
ports:
- 4180:4180
command: [
'/oauth2_proxy',
'--upstream=http://kibana:5601/',
'--provider=github',
'--email-domain=*',
'--github-org=kixlab',
'--cookie-secure=false',
'--http-address=0.0.0.0:4180',
]
volumes:
esdata:
networks:
esnet: