diff --git a/README.md b/README.md index cce040b0a..474878ec3 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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. @@ -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. diff --git a/docker-compose.yml b/docker-compose.yml index 143da0b93..bc87dbeff 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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