-
Notifications
You must be signed in to change notification settings - Fork 14
/
docker-compose.yml
31 lines (28 loc) · 988 Bytes
/
docker-compose.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
version: '2'
services:
luigid:
image: code-challenge/orchestrator:latest
build:
context: ./orchestrator
command: luigid
ports:
- "8082:8082"
orchestrator:
image: code-challenge/orchestrator:latest
depends_on:
- luigid
environment:
- PROJECT_ROOT=$PWD
- PIPELINE_VERSION=0.1
# TODO: Potentially adjust the network depending on your compose version!
# - ORCHESTRATOR_NETWORK=code-challenge-2020_default
- ORCHESTRATOR_NETWORK=wine-rating-predictor-ml-model_default
volumes:
- ./data_root:/usr/share/data/ # Mount data directory
- /var/run/docker.sock:/var/run/docker.sock # Mount docker socker
- ./orchestrator:/opt/orchestrator # Mount code for faster development
build:
context: ./orchestrator
# TODO: Replace with EvaluateModel task
# run EvaluateModel task and monitor on web-based interface
command: luigi --module task EvaluateModel --scheduler-host luigid