-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
61 lines (55 loc) · 1.16 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
version: "3.9"
services:
redis:
image: redis:latest
ports:
- "6379:6379"
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.13.4
container_name: elasticsearch
environment:
- discovery.type=single-node
ports:
- "9200:9200"
- "9300:9300"
nodejs:
build:
context: ./api-service
dockerfile: Dockerfile
container_name: api-service
ports:
- "9080:9080"
environment:
- REDIS_HOSTNAME=redis
- ELASTICSEARCH_URL=http://elasticsearch:9200
depends_on:
- redis
- elasticsearch
simulator:
build:
context: ./simulator
dockerfile: Dockerfile
container_name: simulator
env_file:
- simulator/.env
depends_on:
- redis
- elasticsearch
elastic-ingestor:
build:
context: ./elastic-ingestor
dockerfile: Dockerfile
container_name: elastic-ingestor
ports:
- "3000:3000"
env_file:
- elastic-ingestor/.env
depends_on:
- elasticsearch
scraper:
build:
context: ./scraper
dockerfile: Dockerfile
container_name: scraper
ports:
- "5001:5001"