DEV: Split postgres example into separate db and hub containers.

This commit is contained in:
Scott Sanderson
2014-10-31 14:38:50 -04:00
parent db3eb28c90
commit 1a1687f27a
6 changed files with 257 additions and 5 deletions

View File

@@ -0,0 +1,9 @@
FROM jupyter/jupyterhub
RUN apt-get install -y libpq-dev \
&& apt-get autoremove -y \
&& apt-get clean -y \
&& pip3 install psycopg2
# Replace this with your own password
ENV JPY_PSQL_PASSWORD arglebargle