Last active
June 18, 2019 18:26
-
-
Save deeperunderstanding/43a0efce8f653af0a235e37ee106e75d to your computer and use it in GitHub Desktop.
The final docker-compose file
This file contains hidden or 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: '3' | |
services: | |
notebook: | |
build: | |
context: ./jupyter-notebook-docker | |
ports: | |
- "8888:8888" | |
depends_on: | |
- mlflow | |
environment: | |
MLFLOW_TRACKING_URI: 'http://mlflow:5000' | |
volumes: | |
- file-store:/home/jovyan | |
mlflow: | |
build: | |
context: ./ml-flow-docker | |
expose: | |
- "5000" | |
ports: | |
- "5000:5000" | |
depends_on: | |
- postgres | |
postgres: | |
build: | |
context: ./postgres-docker | |
restart: always | |
environment: | |
POSTGRES_USER: 'admin' | |
POSTGRES_PASSWORD: 'secret' | |
ports: | |
- "5432:5432" | |
volumes: | |
- ./postgres-store:/var/lib/postgresql/data | |
volumes: | |
postgres-store: | |
file-store: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment