This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
docker-compose.yml
107 lines (107 loc) · 2.5 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
version: '3.7'
services:
networkml:
image: 'iqtlabs/networkml:v0.6.19'
pcapplot:
image: 'iqtlabs/pcapplot:v0.1.11'
pcap-splitter:
image: '${TOOL_NAMESPACE}/pcap_to_node_pcap:${TOOL_VERSION}'
ncapture:
image: '${TOOL_NAMESPACE}/ncapture:${TOOL_VERSION}'
pcap-dot1q:
image: '${TOOL_NAMESPACE}/tcprewrite_dot1q:${TOOL_VERSION}'
snort:
image: '${TOOL_NAMESPACE}/snort:${TOOL_VERSION}'
pcap-stats:
image: '${TOOL_NAMESPACE}/pcap_stats:${TOOL_VERSION}'
mercury:
image: '${TOOL_NAMESPACE}/mercury:${TOOL_VERSION}'
admin:
restart: always
build:
context: admin
image: '${SERVICE_NAMESPACE}/packet_cafe_admin:${SERVICE_VERSION}'
ports:
- 5001:5001
networks:
- admin
volumes:
- '${VOL_PREFIX}/files:/files'
- '${VOL_PREFIX}/id:/id'
ui:
restart: always
build:
context: ui
image: '${SERVICE_NAMESPACE}/packet_cafe_ui:${SERVICE_VERSION}'
networks:
- frontend
volumes:
- '${VOL_PREFIX}/definitions:/definitions'
web:
restart: always
build:
context: web
image: '${SERVICE_NAMESPACE}/packet_cafe_web:${SERVICE_VERSION}'
networks:
- frontend
volumes:
- '${VOL_PREFIX}/files:/files'
- '${VOL_PREFIX}/id:/id'
- '${VOL_PREFIX}/definitions:/definitions'
lb:
restart: always
build:
context: lb
image: '${SERVICE_NAMESPACE}/packet_cafe_lb:${SERVICE_VERSION}'
ports:
- 80:80
networks:
- frontend
- results
messenger:
restart: always
build:
context: messenger
image: '${SERVICE_NAMESPACE}/packet_cafe_messenger:${SERVICE_VERSION}'
networks:
- frontend
- backend
- analysis
- preprocessing
redis:
restart: always
build:
context: redis
image: '${SERVICE_NAMESPACE}/packet_cafe_redis:${SERVICE_VERSION}'
networks:
- frontend
- backend
volumes:
- '${VOL_PREFIX}/redis:/data'
workers:
restart: always
build:
context: workers
image: '${SERVICE_NAMESPACE}/packet_cafe_workers:${SERVICE_VERSION}'
networks:
- backend
- results
environment:
VOL_PREFIX: '${VOL_PREFIX}'
volumes:
- '${VOL_PREFIX}/definitions:/definitions'
- '${VOL_PREFIX}/files:/files'
- /var/run/docker.sock:/var/run/docker.sock
networks:
admin:
name: admin
frontend:
name: frontend
backend:
name: backend
analysis:
name: analysis
preprocessing:
name: preprocessing
results:
name: results