forked from ProTip/aws-elk-billing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
52 lines (49 loc) · 1.03 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
#Run docker container in the background
#docker-compose up -d
version: '2'
services:
aws-elk-billing:
build: .
environment:
- DEBIAN_FRONTEND=noninteractive
- TERM=xterm
- ENV=prod
volumes:
- .:/aws-elk-billing
depends_on:
- kibana
- logstash
- elasticsearch
links:
- kibana:kibana
- logstash:logstash
- elasticsearch:elasticsearch
env_file:
- prod.env
command: bash -c "python -u /aws-elk-billing/orchestrate.py"
logstash:
image: priceboard/logstash:2.3
ports:
- 5140:5140
depends_on:
- elasticsearch
links:
- elasticsearch:elasticsearch
volumes:
- ./logstash.conf:/logstash.conf
command: "logstash -f /logstash.conf"
kibana:
image: priceboard/kibana:4.5
volumes:
- ./kibana.yml:/opt/kibana/config/kibana.yml
ports:
- 5601:5601
depends_on:
- elasticsearch
links:
- elasticsearch:elasticsearch
elasticsearch:
image: priceboard/elasticsearch:2.3.3
ports:
- 9200:9200
- 9300:9300