infrastructure/ansible/roles/traefik/files/traefik.yml

44 lines
799 B
YAML
Raw Normal View History

2020-02-02 21:10:29 +00:00
entryPoints:
web:
2020-06-18 20:49:12 +01:00
address: :80
2020-02-02 21:10:29 +00:00
proxyProtocol:
trustedIPs:
- "{{ wireguard.cidr }}"
web-secure:
2020-06-18 20:49:12 +01:00
address: :443
2020-02-02 21:10:29 +00:00
proxyProtocol:
trustedIPs:
- "{{ wireguard.cidr }}"
matrix:
2020-06-18 20:49:12 +01:00
address: :8448
2020-02-02 21:10:29 +00:00
proxyProtocol:
trustedIPs:
- "{{ wireguard.cidr }}"
traefik:
address: "{{ wireguard.clients[ansible_fqdn].ip }}:8080"
2020-02-02 21:10:29 +00:00
2020-04-25 12:15:28 +01:00
ping: {}
2020-02-02 21:10:29 +00:00
providers:
docker:
2020-03-25 21:27:15 +00:00
endpoint: unix:///var/run/docker.sock
2020-02-02 21:10:29 +00:00
watch: true
exposedByDefault: false
file:
filename: /etc/traefik/file-provider.yml
api:
dashboard: true
2020-04-25 12:15:28 +01:00
insecure: true
2020-02-02 21:10:29 +00:00
certificatesResolvers:
le:
acme:
2020-03-25 21:27:15 +00:00
email: hosting@theorangeone.net
storage: /etc/traefik/acme.json
2020-02-02 21:10:29 +00:00
httpChallenge:
entryPoint: web
serversTransport:
insecureSkipVerify: true