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
+19-19Lines changed: 19 additions & 19 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-8
3
+
# sameersbn/postgresql:9.4-9
4
4
5
5
-[Introduction](#introduction)
6
6
-[Contributing](#contributing)
@@ -60,7 +60,7 @@ Automated builds of the image are available on [Dockerhub](https://hub.docker.co
60
60
> **Note**: Builds are also available on [Quay.io](https://quay.io/repository/sameersbn/postgresql)
61
61
62
62
```bash
63
-
docker pull sameersbn/postgresql:9.4-8
63
+
docker pull sameersbn/postgresql:9.4-9
64
64
```
65
65
66
66
Alternatively you can build the image yourself.
@@ -77,7 +77,7 @@ Start PostgreSQL using:
77
77
docker run --name postgresql -itd --restart always \
@@ -139,7 +139,7 @@ A new PostgreSQL database can be created by specifying the `DB_NAME` variable wh
139
139
```bash
140
140
docker run --name postgresql -itd --restart always \
141
141
--env 'DB_NAME=dbname' \
142
-
sameersbn/postgresql:9.4-8
142
+
sameersbn/postgresql:9.4-9
143
143
```
144
144
145
145
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`.
@@ -149,7 +149,7 @@ Additionally, more than one database can be created by specifying a comma separa
149
149
```bash
150
150
docker run --name postgresql -itd --restart always \
151
151
--env 'DB_NAME=dbname1,dbname2' \
152
-
sameersbn/postgresql:9.4-8
152
+
sameersbn/postgresql:9.4-9
153
153
```
154
154
155
155
# Enabling unaccent extension
@@ -161,7 +161,7 @@ You can enable the unaccent extension on database(s) by specifying `DB_UNACCENT=
161
161
```bash
162
162
docker run --name postgresql -itd \
163
163
--env 'DB_NAME=dbname' --env 'DB_UNACCENT=true' \
164
-
sameersbn/postgresql:9.4-8
164
+
sameersbn/postgresql:9.4-9
165
165
```
166
166
167
167
*By default the unaccent extension is disabled*
@@ -174,7 +174,7 @@ If the `DB_USER` and `DB_PASS` variables are specified along with the `DB_NAME`
174
174
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`.
@@ -288,7 +288,7 @@ You can customize the launch command of PostgreSQL server by specifying argument
288
288
289
289
```bash
290
290
docker run --name postgresql -itd --restart always \
291
-
sameersbn/postgresql:9.4-8 -c log_connections=on
291
+
sameersbn/postgresql:9.4-9 -c log_connections=on
292
292
```
293
293
294
294
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.
@@ -299,7 +299,7 @@ By default the PostgreSQL server logs are sent to the standard output. Using the
299
299
300
300
```bash
301
301
docker run --name postgresql -itd --restart always \
0 commit comments