mirror of
https://github.com/11notes/docker-traefik-labels.git
synced 2026-04-30 20:09:18 -05:00
33 lines
946 B
YAML
33 lines
946 B
YAML
labels:
|
|
redis:
|
|
url: rediss://foo:bar@10.127.198.254:6379/0
|
|
webhook:
|
|
url: https://my.cool.webhook/v1
|
|
# optional
|
|
auth:
|
|
# supports basic authentication
|
|
basic: labels:*****
|
|
nodes:
|
|
# use FQDN and add the FQDN to your certificates SAN list (or IP)
|
|
- 192.168.18.12
|
|
- 10.14.120.1
|
|
# reload labels.nodes every {n} seconds (0 = disabled)
|
|
interval: 0
|
|
# timeout in seconds for the connection to a Docker node
|
|
timeout: 2.5
|
|
rfc2136:
|
|
# only nsupdate on entries which are different (do not update same data)
|
|
verify: false
|
|
# remove DNS entry if container is unreachable
|
|
remove: false
|
|
poll:
|
|
# polling all containers on a node every {n} seconds
|
|
interval: 300
|
|
ping:
|
|
# ping all nodes every {n} seconds to see if they are still online
|
|
interval: 10
|
|
tls:
|
|
# path for TLS certificates
|
|
ca: /labels/ssl/ca.crt
|
|
crt: /labels/ssl/server.crt
|
|
key: /labels/ssl/server.key |