This repository has been archived on 2025-11-16. You can view files and clone it, but cannot push or open issues or pull requests.
Files
swarm-production/conf/traefik-conf/static.yml
2025-11-10 11:38:32 +00:00

60 lines
992 B
YAML

# /etc/traefik/traefik.yml or /etc/traefik/static.yml
# Global configuration
global:
checkNewVersion: false
sendAnonymousUsage: false
# API and Dashboard
api:
dashboard: true
insecure: true
# Health check endpoint
ping: {}
# Entry points
entryPoints:
web:
address: ":80"
http:
redirections:
entrypoint:
to: websecure
scheme: https
websecure:
address: ":443"
# Providers
providers:
# Docker Swarm provider
swarm:
endpoint: "unix:///var/run/docker.sock"
exposedByDefault: false
network: homelab
watch: true
# File provider for dynamic configuration
file:
directory: /etc/traefik/dynamic
watch: true
# Certificate resolvers
certresolver:
cloudflare:
acme:
email: john.allisonwin@outlook.com
storage: /certificates/acme.json
dnsChallenge:
provider: cloudflare
resolvers:
- 1.1.1.1:53
- 8.8.8.8:53
# Logging
log:
level: INFO
accessLog: {}