From 34e642793b3d1995ffc836a9d8de80f37a5bba99 Mon Sep 17 00:00:00 2001 From: Sameer Naik Date: Sun, 21 Aug 2016 21:26:42 +0530 Subject: [PATCH] bump postgresql image to `sameersbn/postgresql:9.5-1` --- README.md | 6 +++--- docker-compose.yml | 2 +- docs/container_registry.md | 2 +- kubernetes/postgresql-rc.yml | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 8c5de289..9cd410ef 100644 --- a/README.md +++ b/README.md @@ -162,7 +162,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.5 + sameersbn/postgresql:9.5-1 ``` Step 2. Launch a redis container @@ -264,7 +264,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.5 +docker pull sameersbn/postgresql:9.5-1 ``` For data persistence lets create a store for the postgresql and start the container. @@ -284,7 +284,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.5 + sameersbn/postgresql:9.5-1 ``` 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 0aff51c2..cfe24f34 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,7 +11,7 @@ services: postgresql: restart: always - image: sameersbn/postgresql:9.5 + image: sameersbn/postgresql:9.5-1 volumes: - /srv/docker/gitlab/postgresql:/var/lib/postgresql:Z environment: diff --git a/docs/container_registry.md b/docs/container_registry.md index d55caa38..f4b58a72 100644 --- a/docs/container_registry.md +++ b/docs/container_registry.md @@ -85,7 +85,7 @@ services: - ./redis:/var/lib/redis:Z postgresql: restart: always - image: sameersbn/postgresql:9.5 + image: sameersbn/postgresql:9.5-1 volumes: - ./postgresql:/var/lib/postgresql:Z environment: diff --git a/kubernetes/postgresql-rc.yml b/kubernetes/postgresql-rc.yml index e32b24b8..d00b9716 100644 --- a/kubernetes/postgresql-rc.yml +++ b/kubernetes/postgresql-rc.yml @@ -14,7 +14,7 @@ spec: spec: containers: - name: postgresql - image: sameersbn/postgresql:9.5 + image: sameersbn/postgresql:9.5-1 env: - name: DB_USER value: gitlab