Skip to content

Commit 7e5005d

Browse files
committed
Update readme with single container commands
1 parent 0e3f647 commit 7e5005d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,21 +25,23 @@ postgres:backup-unschedule <name> Unschedules the backup of the postgres service
2525
postgres:clone <name> <new-name> Create container <new-name> then copy data from <name> into <new-name>
2626
postgres:connect <name> Connect via psql to a postgres service
2727
postgres:create <name> Create a postgres service with environment variables
28+
postgres:create-database <name> <db> Create a postgres database in the specified service
2829
postgres:destroy <name> Delete the service and stop its container if there are no links left
30+
postgres:destroy-database <name> <db> Delete a postgres database in the specified service
2931
postgres:enter <name> [command] Enter or run a command in a running postgres service container
3032
postgres:export <name> > <file> Export a dump of the postgres service database
3133
postgres:expose <name> [port] Expose a postgres service on custom port if provided (random port otherwise)
3234
postgres:import <name> < <file> Import a dump into the postgres service database
3335
postgres:info <name> Print the connection information
34-
postgres:link <name> <app> Link the postgres service to the app
36+
postgres:link <name> <app> [--user user] [--database database] Link the postgres service to the app
3537
postgres:list List all postgres services
3638
postgres:logs <name> [-t] Print the most recent log(s) for this service
3739
postgres:promote <name> <app> Promote service <name> as DATABASE_URL in <app>
3840
postgres:restart <name> Graceful shutdown and restart of the postgres service container
3941
postgres:start <name> Start a previously stopped postgres service
4042
postgres:stop <name> Stop a running postgres service
4143
postgres:unexpose <name> Unexpose a previously exposed postgres service
42-
postgres:unlink <name> <app> Unlink the postgres service from the app
44+
postgres:unlink <name> <app> [--user user] [--database database] Unlink the postgres service from the app
4345
```
4446

4547
## usage

0 commit comments

Comments
 (0)