diff --git a/README.md b/README.md index 5093926f..94dd7f03 100644 --- a/README.md +++ b/README.md @@ -173,7 +173,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.6-2 + sameersbn/postgresql:10 ``` Step 2. Launch a redis container @@ -277,7 +277,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.6-2 +docker pull sameersbn/postgresql:10 ``` For data persistence lets create a store for the postgresql and start the container. @@ -297,7 +297,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.6-2 + sameersbn/postgresql:10 ``` 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 3dc3836e..67c4993a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,7 +11,7 @@ services: postgresql: restart: always - image: sameersbn/postgresql:9.6-2 + image: sameersbn/postgresql:10 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 4acf714c..665b28a7 100644 --- a/docs/s3_compatible_storage.md +++ b/docs/s3_compatible_storage.md @@ -80,7 +80,7 @@ services: postgresql: restart: always - image: sameersbn/postgresql:9.6-2 + image: sameersbn/postgresql:10 volumes: - /tmp/docker/gitlab/postgresql:/var/lib/postgresql:Z environment: diff --git a/kubernetes/postgresql-rc.yml b/kubernetes/postgresql-rc.yml index 8e5db281..d5ce45aa 100644 --- a/kubernetes/postgresql-rc.yml +++ b/kubernetes/postgresql-rc.yml @@ -14,7 +14,7 @@ spec: spec: containers: - name: postgresql - image: sameersbn/postgresql:9.6-2 + image: sameersbn/postgresql:10 env: - name: DB_USER value: gitlab