36 lines
1.6 KiB
Text
36 lines
1.6 KiB
Text
# Traefik Version
|
|
# Defines the version of Traefik to be used. By default, "latest" is used.
|
|
TRAEFIK_VERSION=latest
|
|
|
|
# Ports
|
|
# Defines the ports on which Traefik will be available for HTTP and HTTPS traffic.
|
|
# By default, these are 80 (HTTP) and 443 (HTTPS).
|
|
TRAEFIK_HTTP_PORT=80
|
|
TRAEFIK_HTTPS_PORT=443
|
|
|
|
# Cloudflare API Access
|
|
# Your Cloudflare API credentials that Traefik uses to automatically obtain TLS certificates
|
|
# via the Cloudflare DNS provider.
|
|
# Replace the following placeholders with your actual Cloudflare details:
|
|
# - CLOUDFLARE_MAIL: Your Cloudflare email address
|
|
# - CLOUDFLARE_TOKEN: Your Cloudflare API token
|
|
CLOUDFLARE_MAIL=your-cloudflare-email@example.com
|
|
CLOUDFLARE_TOKEN=your-cloudflare-api-token
|
|
|
|
# Domain Configuration
|
|
# Defines the domain that Traefik will use for accessing its dashboard.
|
|
# Replace `yourdomain.com` with your actual domain.
|
|
# The following variable is used for the DNS01 challenge to obtain a wildcard SSL certificate from Cloudflare.
|
|
# - TRAEFIK_SAN_DOMAIN_0: The domain that Traefik will use for the DNS01 challenge.
|
|
# Typically, this is the wildcard domain, e.g., *.yourdomain.com.
|
|
TRAEFIK_DOMAIN=yourdomain.com
|
|
TRAEFIK_SAN_DOMAIN_0=yourdomain.com
|
|
|
|
# Basic Auth Configuration
|
|
# Basic authentication credentials for securing the Traefik dashboard.
|
|
# You can generate the password using the following command:
|
|
# echo $(htpasswd -nB yourusername) | sed -e s/\\$/\\$\\$/g
|
|
# Replace `yourusername` with the desired username.
|
|
# The generated value can then be placed in the `BASICAUTH_PASSWORD` variable.
|
|
TRAEFIK_BASICAUTH_USER=yourusername
|
|
TRAEFIK_BASICAUTH_PASSWORD=yourgeneratedpassword
|