Update auto-redeploy.md (#4974)

This commit is contained in:
Wang Jie 2017-10-17 07:27:34 +08:00 committed by Misty Stanley-Jones
parent 84e9f10ff6
commit 51135ee6c0
1 changed files with 6 additions and 6 deletions

View File

@ -19,7 +19,7 @@ built.
>* To enable **autoredeploy** on an image stored in a third party registry,
> you will need to use [redeploy triggers](triggers.md) instead.
## Launching a new service with autoredeploy
## Launch a new service with autoredeploy
You can launch a service with **autoredeploy** enabled by enabling it from the **general settings** section of the **Launch new service** wizard.
@ -27,7 +27,7 @@ You can launch a service with **autoredeploy** enabled by enabling it from the
By default, autoredeploy is *deactivated*.
### Using the CLI or API
### Use the CLI or API
You can enable **autoredeploy** when launching a service using the CLI or API.
@ -49,7 +49,7 @@ POST /api/app/v1/service/ HTTP/1.1
}
```
## Enabling autoredeploy to an already deployed service
## Enable autoredeploy to an already deployed service
You can activate or deactivate **autoredeploy** on a service after it has been deployed.
@ -59,7 +59,7 @@ You can activate or deactivate **autoredeploy** on a service after it has been
4. Click **Save changes**.
### Using the CLI or API
### Use the CLI or API
You can set the **autoredeploy** option after the service has been deployed,
using the CLI or API.
@ -67,13 +67,13 @@ using the CLI or API.
Check our [API documentation](/apidocs/docker-cloud.md) for more information.
#### Enabling autoredeploy using the CLI
#### Enable autoredeploy using the CLI
```bash
$ docker-cloud service set --autoredeploy (name or uuid)
```
### Enabling autoredeploy using the API
### Enable autoredeploy using the API
```
PATCH /api/app/v1/service/(uuid)/ HTTP/1.1