mirror of
https://github.com/crazy-max/diun.git
synced 2025-12-28 07:56:30 +01:00
Update doc for file and swarm providers
This commit is contained in:
@@ -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`).
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user