-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
24 lines (23 loc) · 866 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
24 lines (23 loc) · 866 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
services:
radar:
build: .
container_name: pipeline-sentinel
restart: unless-stopped
ports:
- "${PORT:-8080}:8080"
environment:
- JWT_SECRET=${JWT_SECRET:?JWT_SECRET must be set}
- PIPELINE_API_KEY=${PIPELINE_API_KEY:?PIPELINE_API_KEY must be set}
- FINDINGS_FILE=/data/findings.json
- DATABASE_URL=sqlite:///data/pipeline_sentinel.db
volumes:
- ./findings.json:/data/findings.json:ro # read-only for security
- sentinel_data:/data # persist scan history
read_only: true # rootfs read-only
tmpfs:
- /tmp # needed for attack simulation temp files
security_opt:
- no-new-privileges:true # drop all additional privileges
volumes:
sentinel_data:
driver: local