This document describes environment variables used to configure Traefik certificate and config paths in production deployments.
## Certificate Path Environment Variables
All certificate paths support environment variable substitution with safe fallback defaults. This allows flexible certificate management across different deployment environments without modifying compose files.
If no environment variables are set, Traefik will use the default paths shown above. This is suitable for production deployments where certificates are installed at these standard locations.
```bash
docker compose -f infra/compose/traefik.yml up -d
```
### Custom Paths (Custom Deployments)
To override paths for a custom deployment, set environment variables before starting services: