summaryrefslogtreecommitdiff
path: root/configs/traefik/traefik.yaml
blob: 25af4dcae7537cd455be21590689cd01c7bcec2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
global:
  checkNewVersion: false
  sendAnonymousUsage: false

log:
  level: DEBUG

api:
  dashboard: true
  insecure: true

entryPoints:
  web:
    address: :80
  websecure:
    address: :443
    asDefault: true

certificatesResolvers:
  cloudflare:
    acme:
      email: benjamin@chausse.xyz
      storage: /var/traefik/certs/cloudflare-acme.json
      caServer: 'https://acme-v02.api.letsencrypt.org/directory'
      keyType: EC256
      dnsChallenge:
        provider: cloudflare
        resolvers:
          - "1.1.1.1:53"
          - "8.8.8.8:53"

providers:
  file:
    filename: /etc/traefik/static-cfg.yaml

  docker:
    endpoint: "unix:///var/run/docker.sock"
    allowEmptyServices: true
    exposedByDefault: false