From ade0ca13359d7ae48c8bd628bacce1d9496632a8 Mon Sep 17 00:00:00 2001 From: Sameer Naik Date: Sat, 18 Jul 2015 11:58:14 +0530 Subject: [PATCH] readme: use `sameersbn/postgresql:9.4-2` in commands --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f35486a0..ca47c139 100644 --- a/README.md +++ b/README.md @@ -145,7 +145,7 @@ docker run --name gitlab-postgresql -d \ --env 'DB_NAME=gitlabhq_production' \ --env 'DB_USER=gitlab' --env 'DB_PASS=password' \ --volume /srv/docker/gitlab/postgresql:/var/lib/postgresql \ - sameersbn/postgresql:9.4 + sameersbn/postgresql:9.4-2 ``` Step 2. Launch a redis container @@ -245,7 +245,7 @@ To illustrate linking with a postgresql container, we will use the [sameersbn/po First, lets pull the postgresql image from the docker index. ```bash -docker pull sameersbn/postgresql:9.4 +docker pull sameersbn/postgresql:9.4-2 ``` For data persistence lets create a store for the postgresql and start the container. @@ -264,7 +264,7 @@ docker run --name gitlab-postgresql -d \ --env 'DB_NAME=gitlabhq_production' \ --env 'DB_USER=gitlab' --env 'DB_PASS=password' \ --volume /srv/docker/gitlab/postgresql:/var/lib/postgresql \ - sameersbn/postgresql:9.4 + sameersbn/postgresql:9.4-2 ``` The above command will create a database named `gitlabhq_production` and also create a user named `gitlab` with the password `password` with access to the `gitlabhq_production` database.