diff --git a/README.md b/README.md index 95075dc..d2a7f18 100644 --- a/README.md +++ b/README.md @@ -18,14 +18,14 @@ sudo dokku plugin:install https://github.com/dokku/dokku-mongo.git mongo ``` mongo:app-links # list all mongo service links for a given app -mongo:backup [--use-iam] # creates a backup of the mongo service to an existing s3 bucket -mongo:backup-auth # sets up authentication for backups on the mongo service -mongo:backup-deauth # removes backup authentication for the mongo service -mongo:backup-schedule [--use-iam] # schedules a backup of the mongo service +mongo:backup [--use-iam] # create a backup of the mongo service to an existing s3 bucket +mongo:backup-auth # set up authentication for backups on the mongo service +mongo:backup-deauth # remove backup authentication for the mongo service +mongo:backup-schedule [--use-iam] # schedule a backup of the mongo service mongo:backup-schedule-cat # cat the contents of the configured backup cronfile for the service -mongo:backup-set-encryption # sets encryption for all future backups of mongo service -mongo:backup-unschedule # unschedules the backup of the mongo service -mongo:backup-unset-encryption # unsets encryption for future backups of the mongo service +mongo:backup-set-encryption # set encryption for all future backups of mongo service +mongo:backup-unschedule # unschedule the backup of the mongo service +mongo:backup-unset-encryption # unset encryption for future backups of the mongo service mongo:clone [--clone-flags...] # create container then copy data from into mongo:connect # connect to the service via the mongo connection tool mongo:connect-admin # connect via mongo to a mongo service as admin user @@ -523,7 +523,7 @@ You may skip the `backup-auth` step if your dokku install is running within EC2 Backups can be performed using the backup commands: -### sets up authentication for backups on the mongo service +### set up authentication for backups on the mongo service ```shell # usage @@ -554,7 +554,7 @@ More specific example for minio auth: dokku mongo:backup-auth lolipop MINIO_ACCESS_KEY_ID MINIO_SECRET_ACCESS_KEY us-east-1 s3v4 https://YOURMINIOSERVICE ``` -### removes backup authentication for the mongo service +### remove backup authentication for the mongo service ```shell # usage @@ -567,7 +567,7 @@ Remove s3 authentication: dokku mongo:backup-deauth lolipop ``` -### creates a backup of the mongo service to an existing s3 bucket +### create a backup of the mongo service to an existing s3 bucket ```shell # usage @@ -590,7 +590,7 @@ Restore a backup file (assuming it was extracted via `tar -xf backup.tgz`): dokku mongo:import lolipop < backup-folder/export ``` -### sets encryption for all future backups of mongo service +### set encryption for all future backups of mongo service ```shell # usage @@ -603,7 +603,7 @@ Set the GPG-compatible passphrase for encrypting backups for backups: dokku mongo:backup-set-encryption lolipop ``` -### unsets encryption for future backups of the mongo service +### unset encryption for future backups of the mongo service ```shell # usage @@ -616,7 +616,7 @@ Unset the `GPG` encryption passphrase for backups: dokku mongo:backup-unset-encryption lolipop ``` -### schedules a backup of the mongo service +### schedule a backup of the mongo service ```shell # usage @@ -654,7 +654,7 @@ Cat the contents of the configured backup cronfile for the service: dokku mongo:backup-schedule-cat lolipop ``` -### unschedules the backup of the mongo service +### unschedule the backup of the mongo service ```shell # usage diff --git a/subcommands/create b/subcommands/create index 187f6ad..29d26e8 100755 --- a/subcommands/create +++ b/subcommands/create @@ -10,12 +10,12 @@ service-create-cmd() { #E dokku $PLUGIN_COMMAND_PREFIX:create lolipop #E you can also specify the image and image version to use for the service. #E it *must* be compatible with the ${PLUGIN_IMAGE} image. - #E export ${PLUGIN_DEFAULT_ALIAS}_IMAGE="${PLUGIN_IMAGE}" - #E export ${PLUGIN_DEFAULT_ALIAS}_IMAGE_VERSION="${PLUGIN_IMAGE_VERSION}" + #E export ${PLUGIN_VARIABLE}_IMAGE="${PLUGIN_IMAGE}" + #E export ${PLUGIN_VARIABLE}_IMAGE_VERSION="${PLUGIN_IMAGE_VERSION}" #E dokku $PLUGIN_COMMAND_PREFIX:create lolipop #E you can also specify custom environment variables to start #E the ${PLUGIN_COMMAND_PREFIX} service in semi-colon separated form. - #E export ${PLUGIN_DEFAULT_ALIAS}_CUSTOM_ENV="USER=alpha;HOST=beta" + #E export ${PLUGIN_VARIABLE}_CUSTOM_ENV="USER=alpha;HOST=beta" #E dokku $PLUGIN_COMMAND_PREFIX:create lolipop #A service, service to run command against #F -c|--config-options "--args --go=here", extra arguments to pass to the container create command