From e094e2c82d2d39c6768595d5653be0c497902373 Mon Sep 17 00:00:00 2001 From: Sameer Naik Date: Sat, 23 Apr 2016 19:14:48 +0530 Subject: [PATCH] bump postgresql version --- README.md | 6 +++--- docker-compose.yml | 2 +- kubernetes/postgresql.yml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 9c0d61ae..7a9dfd13 100644 --- a/README.md +++ b/README.md @@ -154,7 +154,7 @@ docker run --name gitlab-postgresql -d \ --env 'DB_USER=gitlab' --env 'DB_PASS=password' \ --env 'DB_EXTENSION=pg_trgm' \ --volume /srv/docker/gitlab/postgresql:/var/lib/postgresql \ - sameersbn/postgresql:9.4-19 + sameersbn/postgresql:9.4-20 ``` Step 2. Launch a redis container @@ -256,7 +256,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-19 +docker pull sameersbn/postgresql:9.4-20 ``` For data persistence lets create a store for the postgresql and start the container. @@ -276,7 +276,7 @@ docker run --name gitlab-postgresql -d \ --env 'DB_USER=gitlab' --env 'DB_PASS=password' \ --env 'DB_EXTENSION=pg_trgm' \ --volume /srv/docker/gitlab/postgresql:/var/lib/postgresql \ - sameersbn/postgresql:9.4-19 + sameersbn/postgresql:9.4-20 ``` 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 45fa4526..50bf3d8a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,6 +1,6 @@ postgresql: restart: always - image: sameersbn/postgresql:9.4-19 + image: sameersbn/postgresql:9.4-20 environment: - DB_USER=gitlab - DB_PASS=password diff --git a/kubernetes/postgresql.yml b/kubernetes/postgresql.yml index 531a295a..863f2cbc 100644 --- a/kubernetes/postgresql.yml +++ b/kubernetes/postgresql.yml @@ -14,7 +14,7 @@ spec: spec: containers: - name: postgresql - image: sameersbn/postgresql:9.4-19 + image: sameersbn/postgresql:9.4-20 env: - name: DB_USER value: gitlab