infrastructure/ansible/roles/traefik/files/traefik.yml
Jake Howard 0f9802a46c
Install duplicati on PVE docker machine
Requires some changes to how private IPs are specified, which I really need to clean up at some point!
2021-01-20 21:38:01 +00:00

63 lines
1.2 KiB
YAML

entryPoints:
web:
address: :80
proxyProtocol:
trustedIPs:
- "{{ traefik_proxy_protocol_trusted_ips }}"
web-secure:
address: :443
proxyProtocol:
trustedIPs:
- "{{ traefik_proxy_protocol_trusted_ips }}"
matrix:
address: :8448
proxyProtocol:
trustedIPs:
- "{{ traefik_proxy_protocol_trusted_ips }}"
traefik:
address: "{{ private_ip }}:8080"
ping: {}
providers:
docker:
endpoint: unix:///var/run/docker.sock
watch: true
exposedByDefault: false
file:
directory: /etc/traefik/conf
{% if with_traefik_pages %}
http:
endpoint:
- "http://{{ traefik_pages_password }}@127.0.0.1:5000/.traefik-pages/provider"
{% endif %}
api:
dashboard: true
insecure: true
certificatesResolvers:
le:
acme:
email: hosting@theorangeone.net
storage: /etc/traefik/acme.json
dnsChallenge:
provider: cloudflare
delayBeforeCheck: 0
resolvers:
- 1.1.1.1:53
- 1.0.0.1:53
serversTransport:
insecureSkipVerify: true
metrics:
influxDB:
address: "{{ private_ip }}:38089"
database: traefik
pushInterval: 30s
tls:
options:
default:
minVersion: VersionTLS12