api-gateway/api-gateway/etc/traefik.yml
Piotr Biernat a5f126a510
All checks were successful
continuous-integration/drone/push Build is passing
Updated port
2023-02-25 02:01:59 +01:00

69 lines
1.8 KiB
YAML

################################################################
global:
checkNewVersion: false
sendAnonymousUsage: false
################################################################
entryPoints:
https:
address: :443
transport:
respondingTimeouts:
readTimeout: '100ms'
writeTimeout: '100ms'
idleTimeout: '200ms'
# ^^ FIXME: Use ENV var
metrics:
address: :8084
################################################################
# serversTransport:
# insecureSkipVerify: true
# rootCAs:
# - /etc/traefik/certs/client.cert
################################################################
api:
insecure: true
# dashboard: true
################################################################
providers:
file:
filename: /etc/traefik/tls.yml
docker:
exposedByDefault: false
# Default host rule.
# Optional
# Default: "Host(`{{ normalize .Name }}`)"
# defaultRule: Host(`{{ normalize .Name }}.docker.localhost`)
################################################################
consulCatalog:
exposedByDefault: false
refreshInterval: 5s
# ^^ configure in stack`s yml api-registry `command:` section: --providers.consulcatalog.refreshInterval=10s
endpoint:
address: api-registry:8500
# ^^ FIXME: Use ENV var
################################################################
# log:
# level: DEBUG
################################################################
accessLog: {}
################################################################
metrics:
prometheus:
entryPoint: metrics
addEntryPointsLabels: true
addRoutersLabels: true
addServicesLabels: true
################################################################
experimental:
localPlugins:
requestid:
moduleName: "git.pbiernat.dev/traefik/plugin-requestid"