Support configuring a HTTP client timeout in the Docker provider

This commit is contained in:
Sune Keller
2020-08-28 10:02:03 +02:00
committed by GitHub
parent 3db47f0adc
commit 29bd6faa18
9 changed files with 43 additions and 1 deletions

View File

@@ -491,6 +491,30 @@ providers:
Defines the polling interval (in seconds) in Swarm Mode.
### `httpClientTimeout`
_Optional, Default=32_
```toml tab="File (TOML)"
[providers.docker]
httpClientTimeout = 300
# ...
```
```yaml tab="File (YAML)"
providers:
docker:
httpClientTimeout: 300
# ...
```
```bash tab="CLI"
--providers.docker.httpClientTimeout=300
# ...
```
Client timeout for HTTP connections (in seconds).
### `watch`
_Optional, Default=true_