-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
36 lines (29 loc) · 987 Bytes
/
docker-compose.yml
File metadata and controls
36 lines (29 loc) · 987 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
version: '3.8'
services:
psi-ae:
build:
context: .
dockerfile: Dockerfile
image: psi-ae:latest
container_name: psi-artifact-evaluation
# Add capabilities for numactl
cap_add:
- SYS_NICE
# Environment variables (can be overridden with .env file or -e flag)
environment:
- DATA_PREFIX=${DATA_PREFIX:-/data}
- NODE_SIZE=${NODE_SIZE:-1000000000}
# Volume mounts for persistence
volumes:
- ./script_ae/data:/workspace/SpaceTreeLib/script_ae/data
- ./script_ae/logs:/workspace/SpaceTreeLib/script_ae/logs
- ./script_ae/plots:/workspace/SpaceTreeLib/script_ae/plots
# Mount user-specified data directory from host
- ${DATA_MOUNT_PATH:-/tmp/psi-data}:${DATA_PREFIX:-/data}
# Keep container running
stdin_open: true
tty: true
# Working directory
working_dir: /workspace/SpaceTreeLib/script_ae
# Override default command
command: /bin/bash