-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
33 lines (32 loc) · 838 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
33 lines (32 loc) · 838 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
version: '3.8'
services:
securitynexus:
build:
context: .
dockerfile: Dockerfile
args:
- PYTHON_VERSION=3.11
image: securitynexus:latest
container_name: securitynexus
volumes:
- ./reports:/app/reports:rw
- ./history:/app/history:rw
- ./config:/app/config:rw
stdin_open: true # -i parametresi
tty: true # -t parametresi
restart: unless-stopped
environment:
- PYTHONUNBUFFERED=1 # Python çıktılarının tamponlanmaması için
- NVIDIA_VISIBLE_DEVICES=""
- CUDA_VISIBLE_DEVICES=""
- NO_CUDA=1
security_opt:
- no-new-privileges:true
deploy:
resources:
limits:
cpus: '1.0'
memory: 2G
reservations:
cpus: '0.5'
memory: 1G