Update doc for file and swarm providers

This commit is contained in:
CrazyMax
2020-06-17 02:21:27 +02:00
committed by CrazyMax
parent c813fa812b
commit 77ce512b70
2 changed files with 6 additions and 4 deletions

View File

@@ -133,7 +133,7 @@ Sat, 14 Dec 2019 15:32:28 UTC INF Next run in 31 seconds (2019-12-14 15:33:00 +0
### Configuration file
#### filename
#### `filename`
Defines the path to the [configuration file](#yaml-configuration-file).
@@ -145,7 +145,7 @@ providers:
filename: /path/to/config/conf.yml
```
#### directory
#### `directory`
Defines the path to the directory that contains the [configuration files](#yaml-configuration-file) (`*.yml` or `*.yaml`).

View File

@@ -36,6 +36,8 @@ services:
- "DIUN_WATCH_SCHEDULE=*/30 * * * *"
- "DIUN_PROVIDERS_SWARM=true"
deploy:
mode: replicated
replicas: 1
placement:
constraints:
- node.role == manager
@@ -102,8 +104,8 @@ diun_diun.1.i1l4yuiafq6y@docker-desktop | Sat, 14 Dec 2019 16:20:02 CET INF N
* `endpoint`: Server address to connect to. Local if empty.
* `apiVersion`: Overrides the client version with the specified one.
* `TLSCertsPath`: Path to load the TLS certificates from.
* `TLSVerify`: Controls whether client verifies the server's certificate chain and hostname (default `true`).
* `tlsCertsPath`: Path to load the TLS certificates from.
* `tlsVerify`: Controls whether client verifies the server's certificate chain and hostname (default `true`).
* `watchByDefault`: Enable watch by default. If false, services that don't have `diun.enable=true` label will be ignored (default `false`).
### Environment variables