-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.dev.yml
36 lines (36 loc) · 1.01 KB
/
docker-compose.dev.yml
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.9'
services:
map4sci:
image: map4sci:latest
deploy:
resources:
limits:
cpus: '0.75'
memory: 24G
reservations:
cpus: '0.25'
memory: 3G
volumes:
- type: bind
source: ./data-processor/datasets
target: /workspace/data-processor/datasets
- type: bind
source: ./data-processor/raw-data
target: /workspace/data-processor/raw-data
- type: bind
source: ./data-processor/site
target: /workspace/data-processor/site
- type: bind
source: ./data-processor/src
target: /workspace/data-processor/src
- type: bind
source: ./data-processor/scripts
target: /workspace/data-processor/scripts
stdin_open: true # docker run -i
tty: true # docker run -t
working_dir: /workspace/data-processor/
environment:
- CURRENT_DATASET
- CURRENT_VERSION
- NODE_OPTIONS
command: /bin/bash -c 'cd /workspace/data-processor/ && ./run.sh'