Skip to content

Commit

Permalink
use sameersbn/postgresql:9.6-2
Browse files Browse the repository at this point in the history
  • Loading branch information
Sameer Naik committed Jan 29, 2017
1 parent 8805281 commit 92b2921
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ docker run --name=postgresql-redmine -d \
--env='DB_NAME=redmine_production' \
--env='DB_USER=redmine' --env='DB_PASS=password' \
--volume=/srv/docker/redmine/postgresql:/var/lib/postgresql \
sameersbn/postgresql:9.6-1
sameersbn/postgresql:9.6-2
```

Step 2. Launch the redmine container
Expand Down Expand Up @@ -325,7 +325,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-1
docker pull sameersbn/postgresql:9.6-2
```

For data persistence lets create a store for the postgresql and start the container.
Expand All @@ -344,7 +344,7 @@ docker run --name=postgresql-redmine -d \
--env='DB_NAME=redmine_production' \
--env='DB_USER=redmine' --env='DB_PASS=password' \
--volume=/srv/docker/redmine/postgresql:/var/lib/postgresql \
sameersbn/postgresql:9.6-1
sameersbn/postgresql:9.6-2
```

The above command will create a database named `redmine_production` and also create a user named `redmine` with the password `password` with access to the `redmine_production` database.
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '2'

services:
postgresql:
image: sameersbn/postgresql:9.6-1
image: sameersbn/postgresql:9.6-2
environment:
- DB_USER=redmine
- DB_PASS=password
Expand Down

0 comments on commit 92b2921

Please sign in to comment.