mirror of https://github.com/docker/docs.git
updated headings levels, added new (#4955)
Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
This commit is contained in:
parent
c497dbf42e
commit
da4f90ce0d
|
@ -6,6 +6,8 @@ redirect_from:
|
||||||
title: Use triggers
|
title: Use triggers
|
||||||
---
|
---
|
||||||
|
|
||||||
|
## What are triggers?
|
||||||
|
|
||||||
**Triggers** are API endpoints that redeploy or scale a specific service
|
**Triggers** are API endpoints that redeploy or scale a specific service
|
||||||
whenever a `POST` HTTP request is sent to them. You can create one or more
|
whenever a `POST` HTTP request is sent to them. You can create one or more
|
||||||
triggers per service.
|
triggers per service.
|
||||||
|
@ -17,8 +19,7 @@ keep their URLs secret.
|
||||||
The body of the `POST` request is passed in to the new containers as an
|
The body of the `POST` request is passed in to the new containers as an
|
||||||
environment variable called `DOCKERCLOUD_TRIGGER_BODY`.
|
environment variable called `DOCKERCLOUD_TRIGGER_BODY`.
|
||||||
|
|
||||||
|
### Trigger types
|
||||||
#### Trigger types
|
|
||||||
|
|
||||||
Docker Cloud supports two types of triggers:
|
Docker Cloud supports two types of triggers:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue