-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (41 loc) · 1.11 KB
/
docker-compose.yml
File metadata and controls
47 lines (41 loc) · 1.11 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
services:
autoscan-validation:
build:
context: .
dockerfile: Dockerfile
args:
- BUILDKIT_INLINE_CACHE=1
image: autoscan:validation-latest
container_name: autoscan-validation-test
# Run validation controls script
command: run_validation_controls.py
# Mount volumes for data persistence and code
volumes:
- .:/app
- ./workspace:/app/workspace
- ./benchmark:/app/benchmark
- ./config:/app/config
# Environment variables for execution
environment:
PYTHONUNBUFFERED: "1"
PYTHONDONTWRITEBYTECODE: "1"
AUTOSCAN_DATA_DIR: /app/data
AUTOSCAN_CONFIG_DIR: /app/config
PATH: /usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
# Resource allocation
deploy:
resources:
limits:
memory: 4G
reservations:
memory: 2G
# Logging configuration
logging:
driver: "json-file"
options:
max-size: "100m"
max-file: "10"
# Process configuration
stdin_open: true
tty: true
restart: "no"