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.4-10
3
+
# sameersbn/postgresql:9.4-11
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.4-10
64
+
docker pull sameersbn/postgresql:9.4-11
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.4-10
159
+
sameersbn/postgresql:9.4-11
160
160
```
161
161
162
162
Additionally, more than one database can be created by specifying a comma separated list of database names in `DB_NAME`. For example, the following command creates two new databases named `dbname1` and `dbname2`.
@@ -166,7 +166,7 @@ Additionally, more than one database can be created by specifying a comma separa
166
166
```bash
167
167
docker run --name postgresql -itd --restart always \
168
168
--env 'DB_NAME=dbname1,dbname2' \
169
-
sameersbn/postgresql:9.4-10
169
+
sameersbn/postgresql:9.4-11
170
170
```
171
171
172
172
# Enabling unaccent extension
@@ -178,7 +178,7 @@ You can enable the unaccent extension on database(s) by specifying `DB_UNACCENT=
178
178
```bash
179
179
docker run --name postgresql -itd \
180
180
--env 'DB_NAME=dbname' --env 'DB_UNACCENT=true' \
181
-
sameersbn/postgresql:9.4-10
181
+
sameersbn/postgresql:9.4-11
182
182
```
183
183
184
184
*By default the unaccent extension is disabled*
@@ -191,7 +191,7 @@ If the `DB_USER` and `DB_PASS` variables are specified along with the `DB_NAME`
191
191
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`.
@@ -305,7 +305,7 @@ You can customize the launch command of PostgreSQL server by specifying argument
305
305
306
306
```bash
307
307
docker run --name postgresql -itd --restart always \
308
-
sameersbn/postgresql:9.4-10 -c log_connections=on
308
+
sameersbn/postgresql:9.4-11 -c log_connections=on
309
309
```
310
310
311
311
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.
@@ -316,7 +316,7 @@ By default the PostgreSQL server logs are sent to the standard output. Using the
316
316
317
317
```bash
318
318
docker run --name postgresql -itd --restart always \
0 commit comments