diff --git a/README.md b/README.md index 0f97308..c5e612f 100644 --- a/README.md +++ b/README.md @@ -18,14 +18,14 @@ sudo dokku plugin:install https://github.com/dokku/dokku-redis.git redis ``` redis:app-links # list all redis service links for a given app -redis:backup [--use-iam] # creates a backup of the redis service to an existing s3 bucket -redis:backup-auth # sets up authentication for backups on the redis service -redis:backup-deauth # removes backup authentication for the redis service -redis:backup-schedule [--use-iam] # schedules a backup of the redis service +redis:backup [--use-iam] # create a backup of the redis service to an existing s3 bucket +redis:backup-auth # set up authentication for backups on the redis service +redis:backup-deauth # remove backup authentication for the redis service +redis:backup-schedule [--use-iam] # schedule a backup of the redis service redis:backup-schedule-cat # cat the contents of the configured backup cronfile for the service -redis:backup-set-encryption # sets encryption for all future backups of redis service -redis:backup-unschedule # unschedules the backup of the redis service -redis:backup-unset-encryption # unsets encryption for future backups of the redis service +redis:backup-set-encryption # set encryption for all future backups of redis service +redis:backup-unschedule # unschedule the backup of the redis service +redis:backup-unset-encryption # unset encryption for future backups of the redis service redis:clone [--clone-flags...] # create container then copy data from into redis:connect # connect to the service via the redis connection tool redis:create [--create-flags...] # create a redis service @@ -522,7 +522,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 redis service +### set up authentication for backups on the redis service ```shell # usage @@ -553,7 +553,7 @@ More specific example for minio auth: dokku redis:backup-auth lolipop MINIO_ACCESS_KEY_ID MINIO_SECRET_ACCESS_KEY us-east-1 s3v4 https://YOURMINIOSERVICE ``` -### removes backup authentication for the redis service +### remove backup authentication for the redis service ```shell # usage @@ -566,7 +566,7 @@ Remove s3 authentication: dokku redis:backup-deauth lolipop ``` -### creates a backup of the redis service to an existing s3 bucket +### create a backup of the redis service to an existing s3 bucket ```shell # usage @@ -589,7 +589,7 @@ Restore a backup file (assuming it was extracted via `tar -xf backup.tgz`): dokku redis:import lolipop < backup-folder/export ``` -### sets encryption for all future backups of redis service +### set encryption for all future backups of redis service ```shell # usage @@ -602,7 +602,7 @@ Set the GPG-compatible passphrase for encrypting backups for backups: dokku redis:backup-set-encryption lolipop ``` -### unsets encryption for future backups of the redis service +### unset encryption for future backups of the redis service ```shell # usage @@ -615,7 +615,7 @@ Unset the `GPG` encryption passphrase for backups: dokku redis:backup-unset-encryption lolipop ``` -### schedules a backup of the redis service +### schedule a backup of the redis service ```shell # usage @@ -653,7 +653,7 @@ Cat the contents of the configured backup cronfile for the service: dokku redis:backup-schedule-cat lolipop ``` -### unschedules the backup of the redis service +### unschedule the backup of the redis 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