command:
- "--entryPoints=Name:http Address::80 Redirect.EntryPoint:https"
- "--entryPoints=Name:https Address::443 TLS"
- "--defaultEntryPoints=https,http"
- "--acme.entryPoint=https" # Uses LE certificates on the entrypoint "https" .
- "--acme.email=damien@containo.us" # Specifies the contact email for the certificates.
- "--acme.storage=acme.json" # Stores certificates in the file "acme.storage".
- "--acme.tlsChallenge=true" # Uses TLS Challenge.
- "--acme.onHostRule=true" # Get cert's domain names from frontend rules.
- "--docker"
labels:
- "traefik.enable=false"