-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
55 lines (55 loc) · 1.15 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
version: "3"
services:
rabbit_mq:
image: rabbitmq:3-management
environment:
RABBITMQ_DEFAULT_USER: admin
RABBITMQ_DEFAULT_PASS: demo
ports:
- "20000:15672"
- "20001:5672"
db:
image: postgres:12.2
ports:
- 20002:5432
environment:
POSTGRES_USER: admin
POSTGRES_PASSWORD: demo
POSTGRES_DB: counters
elasticsearch:
image: elasticsearch:7.6.1
ports:
- 9200:9200
- 9300:9300
environment:
discovery.type: single-node
kibana:
image: kibana:7.6.1
ports:
- 5601:5601
environment:
discovery.type: single-node
elasticsearch_host: elasticsearch
elasticsearch_url: http://elasticsearch:9030
discovery.seed_hosts: elasticsearch
# custom images
word.counter.worker:
build: ../wordcounter.worker/
depends_on:
- rabbit_mq
- db
- elasticsearch
word.counter.api:
build: ../wordcounter.api/
depends_on:
- rabbit_mq
- db
- elasticsearch
ports:
- 5000:5000
word.counter.front:
build: ../wordcounter.client/
depends_on:
- word.counter.api
ports:
- 20003:80