From 5e981a4273f1d06dbf00e2a4e0814d35d48ba15a Mon Sep 17 00:00:00 2001 From: Sameer Naik Date: Sat, 6 Jul 2019 19:38:42 +0530 Subject: [PATCH] updated to sameersbn/postgresql:10-2 image --- README.md | 6 +++--- docker-compose.yml | 2 +- docs/s3_compatible_storage.md | 2 +- kubernetes/postgresql-rc.yml | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 4dabad84..1dd3841a 100644 --- a/README.md +++ b/README.md @@ -175,7 +175,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:10 + sameersbn/postgresql:10-2 ``` Step 2. Launch a redis container @@ -279,7 +279,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:10 +docker pull sameersbn/postgresql:10-2 ``` For data persistence lets create a store for the postgresql and start the container. @@ -299,7 +299,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:10 + sameersbn/postgresql:10-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. diff --git a/docker-compose.yml b/docker-compose.yml index b59bd284..537ee70a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,7 +11,7 @@ services: postgresql: restart: always - image: sameersbn/postgresql:10 + image: sameersbn/postgresql:10-2 volumes: - /srv/docker/gitlab/postgresql:/var/lib/postgresql:Z environment: diff --git a/docs/s3_compatible_storage.md b/docs/s3_compatible_storage.md index d876cc7a..046c6917 100644 --- a/docs/s3_compatible_storage.md +++ b/docs/s3_compatible_storage.md @@ -80,7 +80,7 @@ services: postgresql: restart: always - image: sameersbn/postgresql:10 + image: sameersbn/postgresql:10-2 volumes: - /tmp/docker/gitlab/postgresql:/var/lib/postgresql:Z environment: diff --git a/kubernetes/postgresql-rc.yml b/kubernetes/postgresql-rc.yml index d5ce45aa..42df975a 100644 --- a/kubernetes/postgresql-rc.yml +++ b/kubernetes/postgresql-rc.yml @@ -14,7 +14,7 @@ spec: spec: containers: - name: postgresql - image: sameersbn/postgresql:10 + image: sameersbn/postgresql:10-2 env: - name: DB_USER value: gitlab