Merge pull request #40 from mcolyer/allow-postgres-restore
Allow use of postgres images with wal-e
This commit is contained in:
@@ -24,7 +24,7 @@ dokku plugin:install https://github.com/dokku/dokku-postgres.git postgres
|
||||
```
|
||||
postgres:clone <name> <new-name> Create container <new-name> then copy data from <name> into <new-name>
|
||||
postgres:connect <name> Connect via psql to a postgres service
|
||||
postgres:create <name> Create a postgres service
|
||||
postgres:create <name> Create a postgres service with environment variables
|
||||
postgres:destroy <name> Delete the service and stop its container if there are no links left
|
||||
postgres:export <name> > <file> Export a dump of the postgres service database
|
||||
postgres:expose <name> [port] Expose a postgres service on custom port if provided (random port otherwise)
|
||||
@@ -52,6 +52,7 @@ dokku postgres:create lolipop
|
||||
# official postgres image
|
||||
export POSTGRES_IMAGE="postgres"
|
||||
export POSTGRES_IMAGE_VERSION="9.4.4"
|
||||
export POSTGRES_CUSTOM_ENV="USER=alpha;HOST=beta"
|
||||
dokku postgres:create lolipop
|
||||
|
||||
# get connection information as follows
|
||||
|
||||
Reference in New Issue
Block a user