-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathdocker-compose.capture.yml
More file actions
46 lines (45 loc) · 1.12 KB
/
Copy pathdocker-compose.capture.yml
File metadata and controls
46 lines (45 loc) · 1.12 KB
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
# Backend-owned capture apparatus. Composed only when the admitted capture
# plan requires complete Kali interactive-session custody.
services:
kali-capture:
profiles: ["kali"]
image: aptl-kali-capture:latest
build:
context: .
dockerfile: containers/kali-capture/Dockerfile
container_name: aptl-kali-capture
restart: unless-stopped
init: true
network_mode: "container:aptl-kali"
read_only: true
tmpfs:
- /run
- /tmp
volumes:
- type: volume
source: kali_captures
target: /var/log/aptl/captures
- type: bind
source: generated:kali-pivot-private-key
target: /run/aptl-source/inner_key
read_only: true
- type: bind
source: generated:kali-authorized-keys
target: /run/aptl-source/outer_authorized_keys
read_only: true
cap_drop: [ALL]
cap_add:
- CHOWN
- DAC_OVERRIDE
- NET_BIND_SERVICE
- SETGID
- SETUID
- SYS_CHROOT
security_opt:
- no-new-privileges:true
deploy:
resources:
limits:
memory: 256m
volumes:
kali_captures: