Skip to content

Commit

Permalink
Update readme with single container commands
Browse files Browse the repository at this point in the history
  • Loading branch information
kane-c committed Jun 29, 2017
1 parent 492f172 commit 72792f1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,23 @@ postgres:backup-unschedule <name> Unschedules the backup of the postgres service
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 with environment variables
postgres:create-database <name> <db> Create a postgres database in the specified service
postgres:destroy <name> Delete the service and stop its container if there are no links left
postgres:destroy-database <name> <db> Delete a postgres database in the specified service
postgres:enter <name> [command] Enter or run a command in a running postgres service container
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)
postgres:import <name> < <file> Import a dump into the postgres service database
postgres:info <name> Print the connection information
postgres:link <name> <app> Link the postgres service to the app
postgres:link <name> <app> [--user user] [--database database] Link the postgres service to the app
postgres:list List all postgres services
postgres:logs <name> [-t] Print the most recent log(s) for this service
postgres:promote <name> <app> Promote service <name> as DATABASE_URL in <app>
postgres:restart <name> Graceful shutdown and restart of the postgres service container
postgres:start <name> Start a previously stopped postgres service
postgres:stop <name> Stop a running postgres service
postgres:unexpose <name> Unexpose a previously exposed postgres service
postgres:unlink <name> <app> Unlink the postgres service from the app
postgres:unlink <name> <app> [--user user] [--database database] Unlink the postgres service from the app
```

## usage
Expand Down

0 comments on commit 72792f1

Please sign in to comment.