forked from seifreed/CipherRun
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (31 loc) · 767 Bytes
/
docker-compose.yml
File metadata and controls
38 lines (31 loc) · 767 Bytes
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
services:
cipherrun:
build:
context: .
dockerfile: Dockerfile
image: cipherrun:latest
container_name: cipherrun-testing
# Network mode host for proper packet capture
network_mode: host
# Privileged mode for tcpdump
privileged: true
# Capabilities for packet capture
cap_add:
- NET_ADMIN
- NET_RAW
# Volumes for persistent data
volumes:
- ./captures:/captures
- ./results:/results
- ./src:/cipherrun/src:ro
- ./data:/cipherrun/data:ro
# Environment variables
environment:
- RUST_LOG=info
- PCAP_DIR=/captures
- RESULTS_DIR=/results
# Keep container running
stdin_open: true
tty: true
# Default command
command: /bin/bash