Skip to content

Instantly share code, notes, and snippets.

View deeperunderstanding's full-sized avatar
Tinkering

Danny J. deeperunderstanding

Tinkering
  • Berlin
View GitHub Profile
version: '3'
services:
notebook:
build:
context: ./jupyter-notebook-docker
ports:
- "8888:8888"
@deeperunderstanding
deeperunderstanding / Dockerfile
Last active June 19, 2019 12:55
Jupyter Notebook Dockerfile
FROM jupyter/scipy-notebook
RUN conda install --quiet --yes \
'mlflow=1.0.0' \
'psycopg2'
@deeperunderstanding
deeperunderstanding / Dockerfile
Last active June 18, 2019 15:30
Final Dockerfile for MLFlow
FROM python:3.7.0
RUN pip install mlflow==1.0.0
RUN pip install psycopg2
EXPOSE 5000
RUN mkdir -p /server
WORKDIR /server
COPY . /server
@deeperunderstanding
deeperunderstanding / docker-compose.yml
Last active June 18, 2019 18:26
The final docker-compose file
version: '3'
services:
notebook:
build:
context: ./jupyter-notebook-docker
ports:
- "8888:8888"
depends_on:
- mlflow
environment:
@deeperunderstanding
deeperunderstanding / docker-compose.yml
Last active June 18, 2019 17:55
The docker-compose now with mlflow tracking server added
version: '3'
services:
notebook:
build:
context: ./jupyter-notebook-docker
ports:
- "8888:8888"
depends_on:
- mlflow
environment:
@deeperunderstanding
deeperunderstanding / Dockerfile
Created June 11, 2019 16:26
Dockerfile for Simple MLflow Tracking Server
FROM python:3.7.0
RUN pip install mlflow==1.0.0
RUN mkdir /mlflow/
CMD mlflow server \
--backend-store-uri /mlflow \
--host 0.0.0.0
@deeperunderstanding
deeperunderstanding / Dockerfile
Last active June 18, 2019 15:31
simple Dockerfile for MLflow tracking server with database backend, not waiting for the DB yet
FROM python:3.7.0
RUN pip install mlflow==1.0.0
RUN pip install psycopg2
RUN mkdir /mlflow/
CMD mlflow server \
--backend-store-uri postgresql://admin:secret@postgres:5432/mlflow \
--default-artifact-root /mlflow \
@deeperunderstanding
deeperunderstanding / Dockerfile
Created June 15, 2019 17:19
Dockerfile for Postgres with init files copied into init folder
FROM postgres:alpine
COPY init.sql /docker-entrypoint-initdb.d/
CREATE DATABASE mlflow;
@deeperunderstanding
deeperunderstanding / game_of_life.ipynb
Created June 17, 2019 11:41 — forked from jiffyclub/game_of_life.ipynb
Conway's Game of Life in an IPython Notebook
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.