sameersbn/postgresql:9.4-10, fixes #527

This commit is contained in:
Sameer Naik 2015-12-09 22:36:08 +05:30
parent ae1706d01c
commit fee0f77831
3 changed files with 5 additions and 5 deletions

View File

@ -150,7 +150,7 @@ docker run --name gitlab-postgresql -d \
--env 'DB_NAME=gitlabhq_production' \
--env 'DB_USER=gitlab' --env 'DB_PASS=password' \
--volume /srv/docker/gitlab/postgresql:/var/lib/postgresql \
sameersbn/postgresql:9.4-9
sameersbn/postgresql:9.4-10
```
Step 2. Launch a redis container
@ -251,7 +251,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-9
docker pull sameersbn/postgresql:9.4-10
```
For data persistence lets create a store for the postgresql and start the container.
@ -270,7 +270,7 @@ docker run --name gitlab-postgresql -d \
--env 'DB_NAME=gitlabhq_production' \
--env 'DB_USER=gitlab' --env 'DB_PASS=password' \
--volume /srv/docker/gitlab/postgresql:/var/lib/postgresql \
sameersbn/postgresql:9.4-9
sameersbn/postgresql:9.4-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.

View File

@ -1,6 +1,6 @@
postgresql:
restart: always
image: sameersbn/postgresql:9.4-9
image: sameersbn/postgresql:9.4-10
environment:
- DB_USER=gitlab
- DB_PASS=password

View File

@ -7,7 +7,7 @@ metadata:
spec:
containers:
- name: postgresql
image: sameersbn/postgresql:9.4-9
image: sameersbn/postgresql:9.4-10
env:
- name: DB_USER
value: gitlab