sitectl traefik; these components add Drupal and ISLE-specific override wiring:
isle-tlscontrols the basedocker-compose.ymlstack used for shared, staging, and production-like environments.isle-tls-overridecontrols the tracked environment-specific Compose override, usuallydocker-compose.local.yml, so local development can differ from the base stack.
Production entrypoint
Enable HTTPS for the base stack:isle-tls updates .env, docker-compose.yml, and Drupal HTTPS settings. When enabled, URI_SCHEME becomes https and Drupal receives DRUPAL_ENABLE_HTTPS: "true". When disabled, the base stack returns to HTTP.
Supported modes:
| Mode | Use when |
|---|---|
self-managed | Certificates are mounted or managed outside sitectl. |
mkcert | You use local mkcert files in certs/ but still want the base stack to behave as HTTPS. |
letsencrypt | Traefik should request certificates through Let’s Encrypt using HTTP-01. |
Let’s Encrypt
Useletsencrypt when the public domain points at this Traefik instance and inbound HTTP traffic can reach port 80 for the ACME HTTP-01 challenge:
ACME_EMAIL and ACME_URL from the environment:
ACME_URL value supplied by your site template, or set it to the ACME directory you want Traefik to use. Use a staging ACME directory for testing so you do not consume production certificate rate limits.
Local override
Useisle-tls-override when local development should not match the base stack. The most common pattern is production HTTPS with local HTTP:
http mode, local Drupal URLs use http://${DOMAIN} and Traefik does not add Let’s Encrypt resolver lines to the override.
Supported override modes:
| Mode | Use when |
|---|---|
http | Local development should run without HTTPS. |
mkcert | Local development should use mkcert HTTPS. |
self-managed | Local development should use mounted or externally managed certificates. |
letsencrypt | The override environment should request certificates through Let’s Encrypt. |
Status and drift
Check TLS state with:isle-tls reports drift when .env, DRUPAL_ENABLE_HTTPS, and Traefik resolver command lines do not agree. isle-tls-override reports drift when the tracked override contains a partial or inconsistent TLS override.
