You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20-20Lines changed: 20 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
[](https://circleci.com/gh/sameersbn/docker-postgresql)[](https://quay.io/repository/sameersbn/postgresql)[](https://imagelayers.io/?images=sameersbn/postgresql:latest'Get your own badge on imagelayers.io')
2
2
3
-
# sameersbn/postgresql:9.6-2
3
+
# sameersbn/postgresql:9.6-3
4
4
5
5
-[Introduction](#introduction)
6
6
-[Contributing](#contributing)
@@ -61,7 +61,7 @@ Automated builds of the image are available on [Dockerhub](https://hub.docker.co
61
61
> **Note**: Builds are also available on [Quay.io](https://quay.io/repository/sameersbn/postgresql)
62
62
63
63
```bash
64
-
docker pull sameersbn/postgresql:9.6-2
64
+
docker pull sameersbn/postgresql:9.6-3
65
65
```
66
66
67
67
Alternatively you can build the image yourself.
@@ -78,7 +78,7 @@ Start PostgreSQL using:
78
78
docker run --name postgresql -itd --restart always \
@@ -156,7 +156,7 @@ A new PostgreSQL database can be created by specifying the `DB_NAME` variable wh
156
156
```bash
157
157
docker run --name postgresql -itd --restart always \
158
158
--env 'DB_NAME=dbname' \
159
-
sameersbn/postgresql:9.6-2
159
+
sameersbn/postgresql:9.6-3
160
160
```
161
161
162
162
By default databases are created by copying the standard system database named `template1`. You can specify a different template for your database using the `DB_TEMPLATE` parameter. Refer to [Template Databases](http://www.postgresql.org/docs/9.4/static/manage-ag-templatedbs.html) for further information.
@@ -168,7 +168,7 @@ Additionally, more than one database can be created by specifying a comma separa
168
168
```bash
169
169
docker run --name postgresql -itd --restart always \
170
170
--env 'DB_NAME=dbname1,dbname2' \
171
-
sameersbn/postgresql:9.6-2
171
+
sameersbn/postgresql:9.6-3
172
172
```
173
173
174
174
## Granting user access to a database
@@ -179,7 +179,7 @@ If the `DB_USER` and `DB_PASS` variables are specified along with the `DB_NAME`
179
179
docker run --name postgresql -itd --restart always \
The difference between a slave and a snapshot is that a slave is read-only and updated whenever the master data is updated (streaming replication), while a snapshot is read-write and is not updated after the initial snapshot of the data from the master.
Once the backup is generated, the container will exit and the backup of the master data will be available at `/srv/docker/backups/postgresql.XXXXXXXXXXXX/`. Restoring the backup involves starting a container with the data in `/srv/docker/backups/postgresql.XXXXXXXXXXXX`.
@@ -309,7 +309,7 @@ You can customize the launch command of PostgreSQL server by specifying argument
309
309
310
310
```bash
311
311
docker run --name postgresql -itd --restart always \
312
-
sameersbn/postgresql:9.6-2 -c log_connections=on
312
+
sameersbn/postgresql:9.6-3 -c log_connections=on
313
313
```
314
314
315
315
Please refer to the documentation of [postgres](http://www.postgresql.org/docs/9.4/static/app-postgres.html) for the complete list of available options.
@@ -320,7 +320,7 @@ By default the PostgreSQL server logs are sent to the standard output. Using the
320
320
321
321
```bash
322
322
docker run --name postgresql -itd --restart always \
0 commit comments