-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
65 lines (64 loc) · 1.33 KB
/
docker-compose.yaml
File metadata and controls
65 lines (64 loc) · 1.33 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
version: "3.8"
services:
controller:
build: ./micromath/controller
image: micromath_controller:prod
ports:
- "8080:8080"
restart: always
depends_on:
- redis
- mongo
- elasticsearch
- logstash
- kibana
pow:
build: ./micromath/pow
image: micromath_pow:prod
restart: always
fibonacci:
build: ./micromath/fibonacci
image: micromath_fibonacci:prod
restart: always
factorial:
build: ./micromath/factorial
image: micromath_factorial:prod
restart: always
redis:
image: redis:6.0.9
restart: always
mongo:
image: mongo:4.4-bionic
restart: always
elasticsearch:
image: elasticsearch:7.9.3
environment:
- discovery.type=single-node
restart: always
logstash:
image: logstash:7.9.3
volumes:
- type: bind
source: ./micromath/logstash
target: /usr/share/logstash/pipeline
read_only: true
restart: always
depends_on:
- elasticsearch
- kibana
kibana:
image: kibana:7.9.3
ports:
- "5601:5601"
restart: always
depends_on:
- elasticsearch
logspout:
image: gliderlabs/logspout:v3
command: 'udp://logstash:5000'
volumes:
- '/var/run/docker.sock:/var/run/docker.sock'
depends_on:
- elasticsearch
- logstash
- kibana