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,10 @@
FROM postgres:9.3
RUN mkdir /docker-entrypoint-initdb.d
# initdb.sh will be run by the parent container's entrypoint on container
# startup, prior to the the database being started.
COPY initdb.sh /docker-entrypoint-initdb.d/init.sh
# Replace this with your own password.
ENV JPY_PSQL_PASSWORD arglebargle