-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
54 lines (51 loc) · 1.29 KB
/
Copy pathdocker-compose.yml
File metadata and controls
54 lines (51 loc) · 1.29 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
47
48
49
50
51
52
53
54
version: '3.8'
services:
# Security breach detector
security-scanner:
build: .
container_name: blockcode-security
network_mode: host
privileged: true
environment:
- NETWORK_NAME=asus 4c
- SUBNET=192.168.1.0/24
- SCAN_INTERVAL=30
- ENABLE_PQXDH=true
- ENABLE_X3DH=true
- ENABLE_SESAME=true
volumes:
- ./data:/app/data
- ./logs:/app/logs
- ./scan_results:/app/scan_results
command: python security_breach_detector.py --scan
restart: unless-stopped
# Network scanner with blockcode
network-scanner:
build: .
container_name: blockcode-network
network_mode: host
environment:
- NETWORK_NAME=asus 4c
- SUBNET=192.168.1.0/24
- SCAN_INTERVAL=30
volumes:
- ./data:/app/data
- ./scan_results:/app/scan_results
command: python network_scanner_blockcode.py --monitor --interval 30
restart: unless-stopped
depends_on:
- security-scanner
# Blockcode NFT service
blockcode-service:
build: .
container_name: blockcode-nft
ports:
- "8080:8080"
- "9000:9000"
environment:
- TESSERACT_ID=container-main
- LOCAL_VERTEX=0,0,0,0
volumes:
- ./data:/app/data
command: python -m http.server 8080
restart: unless-stopped