-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
84 lines (75 loc) · 1.56 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
version: '3.8'
services:
source_service:
build:
context: ./source_service
depends_on:
- rabbitmq
environment:
- MONGO_URI=mongodb://mongodb:27017
- RABBITMQ_URI=amqp://guest:guest@rabbitmq:5672/
networks:
- lognet
collector_service:
build:
context: ./collector_service
depends_on:
- mongodb
- rabbitmq
environment:
- MONGO_URI=mongodb://mongodb:27017
- RABBITMQ_URI=amqp://guest:guest@rabbitmq:5672/
networks:
- lognet
monitoring_service:
build:
context: ./monitoring_service
depends_on:
- mongodb
- rabbitmq
environment:
- MONGO_URI=mongodb://mongodb:27017
- RABBITMQ_URI=amqp://guest:guest@rabbitmq:5672/
networks:
- lognet
search_service:
build:
context: ./search_service
depends_on:
- mongodb
environment:
- MONGO_URI=mongodb://mongodb:27017
ports:
- "5000:5000"
networks:
- lognet
retention_scheduler_service:
build:
context: ./retention_scheduler_service
depends_on:
- mongodb
environment:
- MONGO_URI=mongodb://mongodb:27017/log_aggregator
networks:
- lognet
mongodb:
image: mongo:latest
container_name: mongodb
ports:
- "27017:27017"
volumes:
- mongo_data:/data/db
networks:
- lognet
rabbitmq:
image: rabbitmq:3-management
container_name: rabbitmq
ports:
- "5672:5672"
- "15672:15672"
networks:
- lognet
networks:
lognet:
volumes:
mongo_data: