Created
June 6, 2020 13:49
-
-
Save cereniyim/ec2f481d7702ac64912eafff25b6d708 to your computer and use it in GitHub Desktop.
docker compose for wine rating predictor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment