Skip to content

Instantly share code, notes, and snippets.

View deeperunderstanding's full-sized avatar
Tinkering

A Deeper Understanding deeperunderstanding

Tinkering
View GitHub Profile
version: '3'
services:
notebook:
build:
context: ./jupyter-notebook-docker
ports:
- "8888:8888"
@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
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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@deeperunderstanding
deeperunderstanding / docker-compose.yaml
Last active June 18, 2019 14:59
compose file with database added before adding volumes
version: '3'
services:
notebook:
build:
context: ./jupyter-notebook-docker
ports:
- "8888:8888"
depends_on:
- mlflow
environment:
@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 / 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 / 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: