add mongo:admin command

This commit is contained in:
Vitaly Domnikov
2016-07-11 16:17:00 -07:00
parent e8714ed32e
commit 0d64d42218
3 changed files with 29 additions and 1 deletions

View File

@@ -17,13 +17,14 @@ dokku plugin:install https://github.com/dokku/dokku-mongo.git mongo
## commands
```
mongo:admin <name> Connect via telnet to a mongo service as admin user
mongo:clone <name> <new-name> Create container <new-name> then copy data from <name> into <new-name>
mongo:connect <name> Connect via telnet to a mongo service
mongo:create <name> Create a mongo service with environment variables
mongo:destroy <name> Delete the service and stop its container if there are no links left
mongo:export <name> > <file> Export a dump of the mongo service database
mongo:expose <name> [port] Expose a mongo service on custom port if provided (random port otherwise)
mongo:import <name> < <file> Import a dump into the mongo service database
mongo:import <name> < <file> Import a dump into the mongo service database
mongo:info <name> Print the connection information
mongo:link <name> <app> Link the mongo service to the app
mongo:list List all mongo services