Permalink
Browse files

Merge pull request #149 from florinb/master

changes for port and build path in Docker instructions #148
  • Loading branch information...
2 parents 6e4fa48 + a6780bf commit 0060613f44fc67522dcbba8b7c517f9b62f8fb64 @alistairewj alistairewj committed on GitHub Apr 14, 2017
Showing with 4 additions and 4 deletions.
  1. +4 −4 buildmimic/docker/README.md
@@ -36,7 +36,7 @@ On Linux and MAC systems, a script to automtically to automatically unzip and se
is provided in this directory: `unzip_csv.sh`. is provided in this directory: `unzip_csv.sh`.
Run this at a terminal command line by entering the following: Run this at a terminal command line by entering the following:
- cd /mimic_code/buildmimic/postgres + cd /mimic_code/buildmimic/docker
source unzip_csv.sh /HOST/mimic/csv source unzip_csv.sh /HOST/mimic/csv
... where `/HOST/mimic/csv` is the data folder you would like to work in. Remember this folder name for later. ... where `/HOST/mimic/csv` is the data folder you would like to work in. Remember this folder name for later.
@@ -46,7 +46,7 @@ Run this at a terminal command line by entering the following:
Assuming Docker is installed on your host, you can build the image by entering the Assuming Docker is installed on your host, you can build the image by entering the
following at a terminal command line (or Docker Quickstart Terminal on Windows): following at a terminal command line (or Docker Quickstart Terminal on Windows):
- cd /mimic_code/buildmimic/postgres + cd /mimic_code/buildmimic/docker
docker build -t postgres/mimic . docker build -t postgres/mimic .
Please note the "." at the end is necessary. Please note the "." at the end is necessary.
@@ -108,7 +108,7 @@ Note that on Windows systems, the host paths will need to be prefixed by an extr
docker run \ docker run \
--name mimic \ --name mimic \
- -p 5432:5432 \ + -p 5555:5432 \
-e BUILD_MIMIC=1 \ -e BUILD_MIMIC=1 \
-e POSTGRES_PASSWORD=postgres \ -e POSTGRES_PASSWORD=postgres \
-e MIMIC_PASSWORD=mimic \ -e MIMIC_PASSWORD=mimic \
@@ -120,7 +120,7 @@ Note that on Windows systems, the host paths will need to be prefixed by an extr
docker run \ docker run \
--name mimic \ --name mimic \
- -p 5455:5455 \ + -p 5555:5432 \
-e BUILD_MIMIC=1 \ -e BUILD_MIMIC=1 \
-e POSTGRES_PASSWORD=postgres \ -e POSTGRES_PASSWORD=postgres \
-e MIMIC_PASSWORD=mimic \ -e MIMIC_PASSWORD=mimic \

0 comments on commit 0060613

Please sign in to comment.