bump postgresql version

This commit is contained in:
Sameer Naik 2016-04-23 19:14:48 +05:30
parent 498b03c2d4
commit e094e2c82d
3 changed files with 5 additions and 5 deletions

View File

@ -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.

View File

@ -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

View File

@ -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