Files
homelab/traefik.yml
2026-04-02 14:25:22 -05:00

36 lines
746 B
YAML

# traefik.yml
# yml file to define traefik global settings. Individual containers get lables to define their own settings
api:
dashboard: true
# insecure: true
providers:
docker:
watch: true
network: traefik
# Do not expose every container automatically
exposedByDefault: false
entryPoints:
web:
address: ":80"
# Global HTTP -> HTTPS Redirection
http:
redirections:
entryPoint:
to: websecure
scheme: https
websecure:
address: ":443"
# defenk-only:
# address: ":80"
certificatesResolvers:
basic:
acme:
email: web-admin@riverrooks.art
storage: /letsencrypt/acme.json
# Use the TLS challenge for domain verification
tlsChallenge: {}