forked from similarweb/finala
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yaml
86 lines (84 loc) · 1.92 KB
/
docker-compose.yaml
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
version: '3.7'
services:
elasticsearch:
image: nshou/elasticsearch-kibana
ports:
- "9200:9200"
- "5601:5601"
networks:
backend:
aliases:
- elasticsearch
ui:
build:
context: .
dockerfile: Dockerfile.dev
command:
- ui
- -c
- /etc/finala/config.yaml
volumes:
- ./configuration/ui.yaml:/etc/finala/config.yaml
ports:
- "8080:8080"
networks:
- backend
depends_on:
- api
api:
build:
context: .
dockerfile: Dockerfile.dev
command:
- api
- -c
- /etc/finala/config.yaml
environment:
- OVERRIDE_STORAGE_ENDPOINT=http://elasticsearch:9200
volumes:
- ./configuration/api.yaml:/etc/finala/config.yaml
ports:
- "8081:8081"
networks:
- backend
depends_on:
- elasticsearch
networks:
backend:
aliases:
- api
collector:
build:
context: .
dockerfile: Dockerfile.dev
command:
- collector
- -c
- /etc/finala/config.yaml
environment:
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
- OVERRIDE_API_ENDPOINT=http://api:8081
volumes:
- ./configuration/collector.yaml:/etc/finala/config.yaml
networks:
- backend
depends_on:
- api
# Uncomment the notifier after a first successful run of the Collector
# notifier:
# build:
# context: .
# dockerfile: Dockerfile.dev
# command:
# - notifier
# - -c
# - /etc/finala/config.yaml
# volumes:
# - ./configuration/notifier.yaml:/etc/finala/config.yaml
# networks:
# - backend
# depends_on:
# - api
networks:
backend: