update all
This commit is contained in:
86
Traefik/configs/traefik.yml
Normal file
86
Traefik/configs/traefik.yml
Normal file
@ -0,0 +1,86 @@
|
||||
## static configuration
|
||||
|
||||
global:
|
||||
# Send anonymous usage data
|
||||
sendAnonymousUsage: false
|
||||
checkNewVersion: true
|
||||
|
||||
entryPoints:
|
||||
http:
|
||||
address: ":80"
|
||||
http:
|
||||
redirections:
|
||||
entryPoint:
|
||||
to: "https"
|
||||
scheme: "https"
|
||||
https:
|
||||
address: ":443"
|
||||
metrics:
|
||||
address: ":8181"
|
||||
|
||||
# Access logs
|
||||
# accessLog: fields:
|
||||
# headers:
|
||||
# names:
|
||||
# User-Agent: keep
|
||||
|
||||
providers:
|
||||
docker:
|
||||
endpoint: "unix:///var/run/docker.sock"
|
||||
exposedByDefault: false
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
# network: "interne"
|
||||
=======
|
||||
network: "interne"
|
||||
>>>>>>> 8e9a2c2beb8c28880271da161158adf0cb6617e0
|
||||
=======
|
||||
# network: "interne"
|
||||
>>>>>>> 788e10b187487aabd04ab6b559995c1fa0994cb3
|
||||
watch: true
|
||||
file:
|
||||
directory: /etc/traefik/dynamic
|
||||
watch: true
|
||||
providersThrottleDuration: 10
|
||||
|
||||
certificatesResolvers:
|
||||
letsencrypt:
|
||||
acme:
|
||||
tlschallenge: true
|
||||
httpchallenge:
|
||||
entrypoint: http
|
||||
email: admin@tips-of-mine.fr
|
||||
storage: /etc/traefik/acme/acme.json
|
||||
|
||||
api:
|
||||
insecure: true
|
||||
dashboard: true
|
||||
|
||||
log:
|
||||
level: DEBUG
|
||||
filepath: "/var/log/traefik.log"
|
||||
format: json
|
||||
# default: "common"
|
||||
|
||||
accesslog:
|
||||
filepath: "/var/log/access.log"
|
||||
format: json
|
||||
bufferingSize: 100
|
||||
# format: common
|
||||
|
||||
# Ajout de la partie métrique qui concerne Prometheus
|
||||
metrics:
|
||||
prometheus:
|
||||
# Nom du point d'entrée défini au dessus
|
||||
entryPoint: metrics
|
||||
# On configure la latence des métriques
|
||||
buckets:
|
||||
- 0.1
|
||||
- 0.3
|
||||
- 1.2
|
||||
- 5.0
|
||||
# Ajout des métriques sur les points d'entrée
|
||||
addEntryPointsLabels: true
|
||||
# Ajout des services
|
||||
addServicesLabels: true
|
||||
addRoutersLabels: true
|
Reference in New Issue
Block a user