-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yaml
42 lines (41 loc) · 1.04 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
services:
opencti-connector-aggregator:
image: ghcr.io/mata-elang-stable/opencti-connector-aggregator:latest
build:
context: .
target: event-aggregator
restart: unless-stoped
container_name: opencti-connector-aggregator
env_file:
- ./event-aggregator/.env
command: ["-u", "kafka_consumer_sensor_event.py"]
deploy:
mode: replicated
replicas: 1
restart_policy:
condition: unless-stopped
delay: 10s
resources:
limits:
cpus: "0.2"
memory: 256M
opencti-connector-parser:
image: ghcr.io/mata-elang-stable/opencti-connector-parser:latest
build:
context: .
target: event-parser
container_name: opencti-connector-parser
env_file:
- ./event-parser/.env
restart: unless-stoped
command: ["-u", "event_parser.py"]
deploy:
mode: replicated
replicas: 1
restart_policy:
condition: unless-stopped
delay: 10s
resources:
limits:
cpus: "0.2"
memory: 256M