From a419214a3433ca7ec436f4748272e9a7ee00ea78 Mon Sep 17 00:00:00 2001 From: Sameer Naik Date: Sat, 8 Aug 2015 11:43:24 +0530 Subject: [PATCH] use `sameersbn/postgresql:9.4-3` --- README.md | 6 +++--- docker-compose.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d813e13d..22fd9fe7 100644 --- a/README.md +++ b/README.md @@ -147,7 +147,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-2 + sameersbn/postgresql:9.4-3 ``` Step 2. Launch a redis container @@ -247,7 +247,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-2 +docker pull sameersbn/postgresql:9.4-3 ``` For data persistence lets create a store for the postgresql and start the container. @@ -266,7 +266,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-2 + sameersbn/postgresql:9.4-3 ``` 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. diff --git a/docker-compose.yml b/docker-compose.yml index baaf5c37..fc3399fd 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,5 @@ postgresql: - image: sameersbn/postgresql:9.4-2 + image: sameersbn/postgresql:9.4-3 environment: - DB_USER=gitlab - DB_PASS=password