Last active
June 18, 2019 14:59
-
-
Save deeperunderstanding/7cc2f59dfc28269cb50c22e2574e7897 to your computer and use it in GitHub Desktop.
compose file with database added before adding volumes
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' | |
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" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment