From 72792f192544d6caf7d1ce6dae8e5cbaa8c2950f Mon Sep 17 00:00:00 2001 From: Kane Date: Thu, 26 Jan 2017 10:38:55 +1100 Subject: [PATCH] Update readme with single container commands --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bc643c8..22c7e2f 100644 --- a/README.md +++ b/README.md @@ -25,13 +25,15 @@ postgres:backup-unschedule Unschedules the backup of the postgres service postgres:clone Create container then copy data from into postgres:connect Connect via psql to a postgres service postgres:create Create a postgres service with environment variables +postgres:create-database Create a postgres database in the specified service postgres:destroy Delete the service and stop its container if there are no links left +postgres:destroy-database Delete a postgres database in the specified service postgres:enter [command] Enter or run a command in a running postgres service container postgres:export > Export a dump of the postgres service database postgres:expose [port] Expose a postgres service on custom port if provided (random port otherwise) postgres:import < Import a dump into the postgres service database postgres:info Print the connection information -postgres:link Link the postgres service to the app +postgres:link [--user user] [--database database] Link the postgres service to the app postgres:list List all postgres services postgres:logs [-t] Print the most recent log(s) for this service postgres:promote Promote service as DATABASE_URL in @@ -39,7 +41,7 @@ postgres:restart Graceful shutdown and restart of the postgres postgres:start Start a previously stopped postgres service postgres:stop Stop a running postgres service postgres:unexpose Unexpose a previously exposed postgres service -postgres:unlink Unlink the postgres service from the app +postgres:unlink [--user user] [--database database] Unlink the postgres service from the app ``` ## usage