Hi Christian
seems the traefik template fails to give a name to the docker network, this for boilerplates version 0.1.3
docker compose config
returns
yaml: while parsing a block mapping at line 50, column 3: did not find expected key
note the missing network name in lines 30, 47, 51 in the generated yaml
---
services:
traefik:
image: docker.io/library/traefik:v3.6.8
container_name: traefik
security_opt:
- no-new-privileges:true
hostname: traefik
command:
- "--global.checkNewVersion=false"
- "--global.sendAnonymousUsage=false"
- "--log.level=debug"
- "--ping=true"
- "--ping.entryPoint=ping"
- "--entrypoints.ping.address=:8082"
- "--entrypoints.web.address=:80"
- "--entrypoints.web.http.encodedCharacters.allowEncodedSlash=true"
- "--entrypoints.web.http.redirections.entryPoint.to=websecure"
- "--entrypoints.web.http.redirections.entryPoint.scheme=https"
- "--entrypoints.websecure.address=:443"
- "--entrypoints.websecure.http.encodedCharacters.allowEncodedSlash=true"
- "--certificatesresolvers.cloudflare.acme.email=nobody@example.com"
- "--certificatesresolvers.cloudflare.acme.caServer=https://acme-v02.api.letsencrypt.org/directory"
- "--certificatesresolvers.cloudflare.acme.dnsChallenge.provider=cloudflare"
- "--certificatesresolvers.cloudflare.acme.dnsChallenge.resolvers=1.1.1.1:53,8.8.8.8:53"
- "--tls.options.default.cipherSuites=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256"
- "--serversTransport.insecureSkipVerify=true"
- "--providers.docker=true"
- "--providers.docker.exposedByDefault=false"
- "--providers.docker.network="
ports:
- "80:80"
- "443:443"
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- traefik_certs:/var/traefik/certs/:rw
environment:
- TZ=Europe/......
- CF_DNS_API_TOKEN=${CF_DNS_API_TOKEN}
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://127.0.0.1:8082/ping"]
interval: 30s
timeout: 5s
retries: 3
start_period: 10s
networks:
-
restart: unless-stopped
networks:
:
driver: bridge
name:
volumes:
traefik_certs:
driver: local
full debug log
2026-03-16 21:10:17 - cli.main - DEBUG - Discovering modules in /home/administrator/.local/share/pipx/venvs/boilerplates/lib/python3.12/site-packages/cli/modules
2026-03-16 21:10:17 - cli.main - DEBUG - Importing module: ansible (package)
2026-03-16 21:10:17 - cli.core.validators - DEBUG - Registered validator: DockerComposeValidator
2026-03-16 21:10:17 - cli.core.validators - DEBUG - Registered validator: YAMLValidator
2026-03-16 21:10:17 - cli.core.registry - DEBUG - Attempting to register module class 'ansible'
2026-03-16 21:10:17 - cli.core.registry - INFO - Registered module 'ansible' (total modules: 1)
2026-03-16 21:10:17 - cli.core.registry - DEBUG - Module 'ansible' details: description='Manage Ansible configurations'
2026-03-16 21:10:17 - cli.main - DEBUG - Importing module: compose (package)
2026-03-16 21:10:17 - cli.core.registry - DEBUG - Attempting to register module class 'compose'
2026-03-16 21:10:17 - cli.core.registry - INFO - Registered module 'compose' (total modules: 2)
2026-03-16 21:10:17 - cli.core.registry - DEBUG - Module 'compose' details: description='Manage Docker Compose configurations'
2026-03-16 21:10:17 - cli.main - DEBUG - Importing module: helm (package)
2026-03-16 21:10:17 - cli.core.registry - DEBUG - Attempting to register module class 'helm'
2026-03-16 21:10:17 - cli.core.registry - INFO - Registered module 'helm' (total modules: 3)
2026-03-16 21:10:17 - cli.core.registry - DEBUG - Module 'helm' details: description='Manage Helm configurations'
2026-03-16 21:10:17 - cli.main - DEBUG - Importing module: kubernetes (package)
2026-03-16 21:10:17 - cli.core.registry - DEBUG - Attempting to register module class 'kubernetes'
2026-03-16 21:10:17 - cli.core.registry - INFO - Registered module 'kubernetes' (total modules: 4)
2026-03-16 21:10:17 - cli.core.registry - DEBUG - Module 'kubernetes' details: description='Manage Kubernetes configurations'
2026-03-16 21:10:17 - cli.main - DEBUG - Importing module: packer (package)
2026-03-16 21:10:17 - cli.core.registry - DEBUG - Attempting to register module class 'packer'
2026-03-16 21:10:17 - cli.core.registry - INFO - Registered module 'packer' (total modules: 5)
2026-03-16 21:10:17 - cli.core.registry - DEBUG - Module 'packer' details: description='Manage Packer configurations'
2026-03-16 21:10:17 - cli.main - DEBUG - Importing module: terraform (package)
2026-03-16 21:10:17 - cli.core.registry - DEBUG - Attempting to register module class 'terraform'
2026-03-16 21:10:17 - cli.core.registry - INFO - Registered module 'terraform' (total modules: 6)
2026-03-16 21:10:17 - cli.core.registry - DEBUG - Module 'terraform' details: description='Manage Terraform configurations'
2026-03-16 21:10:17 - cli.main - DEBUG - Registering repo command
2026-03-16 21:10:17 - cli.core.registry - DEBUG - Iterating over 6 registered module classes
2026-03-16 21:10:17 - cli.main - DEBUG - Registering 6 template-based modules
2026-03-16 21:10:17 - cli.main - DEBUG - Registering module class: AnsibleModule
2026-03-16 21:10:17 - cli.core.module.base_module - DEBUG - Registering CLI commands for module 'ansible'
2026-03-16 21:10:17 - cli.core.module.base_module - INFO - Initializing module 'ansible'
2026-03-16 21:10:17 - cli.core.module.base_module - DEBUG - Module 'ansible' configuration: description='Manage Ansible configurations'
2026-03-16 21:10:17 - cli.core.library - DEBUG - Loaded git library 'default' from /home/administrator/.config/boilerplates/libraries/default/library with priority 1
2026-03-16 21:10:17 - cli.core.module.base_module - INFO - Module 'ansible' CLI commands registered
2026-03-16 21:10:17 - cli.main - DEBUG - Registering module class: ComposeModule
2026-03-16 21:10:17 - cli.core.module.base_module - DEBUG - Registering CLI commands for module 'compose'
2026-03-16 21:10:17 - cli.core.module.base_module - INFO - Initializing module 'compose'
2026-03-16 21:10:17 - cli.core.module.base_module - DEBUG - Module 'compose' configuration: description='Manage Docker Compose configurations'
2026-03-16 21:10:17 - cli.core.library - DEBUG - Loaded git library 'default' from /home/administrator/.config/boilerplates/libraries/default/library with priority 1
2026-03-16 21:10:17 - cli.core.module.base_module - INFO - Module 'compose' CLI commands registered
2026-03-16 21:10:17 - cli.main - DEBUG - Registering module class: HelmModule
2026-03-16 21:10:17 - cli.core.module.base_module - DEBUG - Registering CLI commands for module 'helm'
2026-03-16 21:10:17 - cli.core.module.base_module - INFO - Initializing module 'helm'
2026-03-16 21:10:17 - cli.core.module.base_module - DEBUG - Module 'helm' configuration: description='Manage Helm configurations'
2026-03-16 21:10:17 - cli.core.library - DEBUG - Loaded git library 'default' from /home/administrator/.config/boilerplates/libraries/default/library with priority 1
2026-03-16 21:10:17 - cli.core.module.base_module - INFO - Module 'helm' CLI commands registered
2026-03-16 21:10:17 - cli.main - DEBUG - Registering module class: KubernetesModule
2026-03-16 21:10:17 - cli.core.module.base_module - DEBUG - Registering CLI commands for module 'kubernetes'
2026-03-16 21:10:17 - cli.core.module.base_module - INFO - Initializing module 'kubernetes'
2026-03-16 21:10:17 - cli.core.module.base_module - DEBUG - Module 'kubernetes' configuration: description='Manage Kubernetes configurations'
2026-03-16 21:10:17 - cli.core.library - DEBUG - Loaded git library 'default' from /home/administrator/.config/boilerplates/libraries/default/library with priority 1
2026-03-16 21:10:17 - cli.core.module.base_module - INFO - Module 'kubernetes' CLI commands registered
2026-03-16 21:10:17 - cli.main - DEBUG - Registering module class: PackerModule
2026-03-16 21:10:17 - cli.core.module.base_module - DEBUG - Registering CLI commands for module 'packer'
2026-03-16 21:10:17 - cli.core.module.base_module - INFO - Initializing module 'packer'
2026-03-16 21:10:17 - cli.core.module.base_module - DEBUG - Module 'packer' configuration: description='Manage Packer configurations'
2026-03-16 21:10:17 - cli.core.library - DEBUG - Loaded git library 'default' from /home/administrator/.config/boilerplates/libraries/default/library with priority 1
2026-03-16 21:10:17 - cli.core.module.base_module - INFO - Module 'packer' CLI commands registered
2026-03-16 21:10:17 - cli.main - DEBUG - Registering module class: TerraformModule
2026-03-16 21:10:17 - cli.core.module.base_module - DEBUG - Registering CLI commands for module 'terraform'
2026-03-16 21:10:17 - cli.core.module.base_module - INFO - Initializing module 'terraform'
2026-03-16 21:10:17 - cli.core.module.base_module - DEBUG - Module 'terraform' configuration: description='Manage Terraform configurations'
2026-03-16 21:10:17 - cli.core.library - DEBUG - Loaded git library 'default' from /home/administrator/.config/boilerplates/libraries/default/library with priority 1
2026-03-16 21:10:17 - cli.core.module.base_module - INFO - Module 'terraform' CLI commands registered
2026-03-16 21:10:17 - cli.main - INFO - Application initialized: 6 modules registered successfully
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Traefik (id:traefik │ version:v3.6.8 │ library: default) ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
Traefik is a modern HTTP reverse proxy and load balancer that makes deploying microservices easy. This template sets up Traefik with automatic HTTPS using Let's Encrypt and can be integrated with Authentik for SSO.
References
• Project: https://traefik.io/
• Documentation: https://doc.traefik.io/traefik/
• GitHub: https://github.com/traefik/traefik
Template File Structure
traefik
├── .env
├── .env.secret.consumer_key
├── .env.secret.token
├── .env.secret.token_key
└── compose.yaml
Template Variables
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Variable ┃ Type ┃ Default ┃ Description ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ General │ │ │ │
│ service_name │ str │ traefik │ │
│ container_name │ str │ (none) │ │
│ container_hostname │ str │ (none) │ │
│ container_timezone │ str │ ((none)) Europe/...... │ │
│ container_loglevel │ enum │ (none) │ │
│ restart_policy () │ enum │ unless-stopped │ │
│ │ │ │ │
│ Ports │ │ │ │
│ ports_dashboard │ int │ 8080 │ Dashboard port (external) │
│ ports_http │ str │ 80 │ │
│ ports_https │ str │ 443 │ │
│ │ │ │ │
│ Settings (disabled) │ │ │ │
│ accesslog_enabled │ bool │ False │ Enable Traefik access log │
│ dashboard_enabled │ bool │ False │ Enable Traefik dashboard │
│ prometheus_enabled │ bool │ False │ Enable Prometheus metrics │
│ security_enabled │ bool │ True False │ Create production-ready security headers middleware │
│ traefik_network │ str │ (none) │ │
│ traefik_network_external │ bool │ False │ Use existing Docker network (external) │
│ │ │ │ │
│ TLS Settings (disabled) │ │ │ │
│ traefik_tls_enabled │ bool │ False │ Enable HTTPS/TLS with ACME │
│ traefik_tls_certresolver │ str │ cloudflare │ ACME DNS challenge provider │
│ traefik_tls_acme_email │ str │ (none) │ Email address for ACME │
│ traefik_tls_acme_endpoint │ str │ ovh-eu │ OVH API endpoint │
│ traefik_tls_acme_region │ str │ us-east-1 │ AWS Region │
│ traefik_tls_acme_resource_group │ str │ (none) │ Azure Resource Group │
│ traefik_tls_acme_secret_key │ str │ (none) │ DNS provider secret key │
│ traefik_tls_acme_subscription_id │ str │ (none) │ Azure Subscription ID │
│ traefik_tls_acme_tenant_id │ str │ (none) │ Azure Tenant ID │
│ traefik_tls_acme_token │ str │ (none) │ DNS provider API token │
│ traefik_tls_acme_username │ str │ (none) │ Namecheap API username │
│ traefik_tls_acme_consumer_key │ str │ (none) │ OVH Consumer Key │
│ traefik_tls_redirect │ bool │ True False │ Redirect all HTTP traffic to HTTPS │
│ traefik_tls_secure_ciphers │ bool │ False │ Enable strict cipher suites (recommended) │
│ traefik_tls_skipverify │ bool │ False │ Skip TLS verification for backend servers │
│ │ │ │ │
│ Volume │ │ │ │
│ volume_mode () │ enum │ local │ │
│ volume_mount_path │ str │ /mnt/storage │ │
│ volume_nfs_server │ str │ 192.168.1.1 │ │
│ volume_nfs_path │ str │ /export │ │
│ volume_nfs_options │ str │ rw,nolock,soft │ │
│ │ │ │ │
│ Docker Swarm (disabled) │ │ │ │
│ swarm_placement_mode │ enum │ replicated │ │
│ swarm_replicas │ int │ 1 │ │
│ swarm_placement_host │ str │ (none) │ Target hostname for placement constraint │
│ swarm_enabled │ bool │ False │ Enable Docker Swarm mode │
└────────────────────────────────────┴──────┴──────────────────────────┴─────────────────────────────────────────────────────┘
Warning: Using positional argument for output directory is deprecated and will be removed in v0.2.0 (Use --output/-o flag instead)
Customize any settings? [y/n] (n): y
General
service_name (traefik):
container_name (): traefik
container_hostname (): traefik
container_timezone (Europe/......):
container_loglevel (Options: debug, info, warn, error) (debug):
restart_policy *required (Options: unless-stopped, always, on-failure, no) (unless-stopped):
Ports
ports_http (Maps to entrypoint 'web') (80):
ports_https (Maps to entrypoint 'websecure') (443):
Settings
Configure Traefik features and settings
Enable Traefik dashboard (WARNING: Don't use in production!) [y/n] (n):
TLS Settings
Enable HTTPS/TLS with ACME [y/n] (n): y
ACME DNS challenge provider *required (DNS provider for domain validation) (cloudflare):
Email address for ACME *required (): nobody@example.com
DNS provider API token *required (CF_DNS_API_TOKEN, DO_AUTH_TOKEN, GODADDY_API_KEY, NAMECHEAP_API_KEY, OVH_APPLICATION_KEY, or PORKBUN_API_KEY) ():
Redirect all HTTP traffic to HTTPS [y/n] (n): y
Enable strict cipher suites (recommended) (Enforces modern, secure cipher suites) [y/n] (n): y
Skip TLS verification for backend servers (WARNING: Only enable for self-signed certificates in trusted environments) [y/n] (n): y
Volume
volume_mode *required (Options: local, mount, nfs) (local):
Docker Swarm
Enable Docker Swarm mode [y/n] (n): n
Next Steps
Start the traefik project
1 Copy the project directory for traefik to the host.
2 Start Traefik with Docker Compose from the project directory: docker compose up -d
Hi Christian
seems the traefik template fails to give a name to the docker network, this for boilerplates version 0.1.3
docker compose configreturns
yaml: while parsing a block mapping at line 50, column 3: did not find expected key
note the missing network name in lines 30, 47, 51 in the generated yaml
full debug log
2026-03-16 21:10:17 - cli.main - DEBUG - Discovering modules in /home/administrator/.local/share/pipx/venvs/boilerplates/lib/python3.12/site-packages/cli/modules
2026-03-16 21:10:17 - cli.main - DEBUG - Importing module: ansible (package)
2026-03-16 21:10:17 - cli.core.validators - DEBUG - Registered validator: DockerComposeValidator
2026-03-16 21:10:17 - cli.core.validators - DEBUG - Registered validator: YAMLValidator
2026-03-16 21:10:17 - cli.core.registry - DEBUG - Attempting to register module class 'ansible'
2026-03-16 21:10:17 - cli.core.registry - INFO - Registered module 'ansible' (total modules: 1)
2026-03-16 21:10:17 - cli.core.registry - DEBUG - Module 'ansible' details: description='Manage Ansible configurations'
2026-03-16 21:10:17 - cli.main - DEBUG - Importing module: compose (package)
2026-03-16 21:10:17 - cli.core.registry - DEBUG - Attempting to register module class 'compose'
2026-03-16 21:10:17 - cli.core.registry - INFO - Registered module 'compose' (total modules: 2)
2026-03-16 21:10:17 - cli.core.registry - DEBUG - Module 'compose' details: description='Manage Docker Compose configurations'
2026-03-16 21:10:17 - cli.main - DEBUG - Importing module: helm (package)
2026-03-16 21:10:17 - cli.core.registry - DEBUG - Attempting to register module class 'helm'
2026-03-16 21:10:17 - cli.core.registry - INFO - Registered module 'helm' (total modules: 3)
2026-03-16 21:10:17 - cli.core.registry - DEBUG - Module 'helm' details: description='Manage Helm configurations'
2026-03-16 21:10:17 - cli.main - DEBUG - Importing module: kubernetes (package)
2026-03-16 21:10:17 - cli.core.registry - DEBUG - Attempting to register module class 'kubernetes'
2026-03-16 21:10:17 - cli.core.registry - INFO - Registered module 'kubernetes' (total modules: 4)
2026-03-16 21:10:17 - cli.core.registry - DEBUG - Module 'kubernetes' details: description='Manage Kubernetes configurations'
2026-03-16 21:10:17 - cli.main - DEBUG - Importing module: packer (package)
2026-03-16 21:10:17 - cli.core.registry - DEBUG - Attempting to register module class 'packer'
2026-03-16 21:10:17 - cli.core.registry - INFO - Registered module 'packer' (total modules: 5)
2026-03-16 21:10:17 - cli.core.registry - DEBUG - Module 'packer' details: description='Manage Packer configurations'
2026-03-16 21:10:17 - cli.main - DEBUG - Importing module: terraform (package)
2026-03-16 21:10:17 - cli.core.registry - DEBUG - Attempting to register module class 'terraform'
2026-03-16 21:10:17 - cli.core.registry - INFO - Registered module 'terraform' (total modules: 6)
2026-03-16 21:10:17 - cli.core.registry - DEBUG - Module 'terraform' details: description='Manage Terraform configurations'
2026-03-16 21:10:17 - cli.main - DEBUG - Registering repo command
2026-03-16 21:10:17 - cli.core.registry - DEBUG - Iterating over 6 registered module classes
2026-03-16 21:10:17 - cli.main - DEBUG - Registering 6 template-based modules
2026-03-16 21:10:17 - cli.main - DEBUG - Registering module class: AnsibleModule
2026-03-16 21:10:17 - cli.core.module.base_module - DEBUG - Registering CLI commands for module 'ansible'
2026-03-16 21:10:17 - cli.core.module.base_module - INFO - Initializing module 'ansible'
2026-03-16 21:10:17 - cli.core.module.base_module - DEBUG - Module 'ansible' configuration: description='Manage Ansible configurations'
2026-03-16 21:10:17 - cli.core.library - DEBUG - Loaded git library 'default' from /home/administrator/.config/boilerplates/libraries/default/library with priority 1
2026-03-16 21:10:17 - cli.core.module.base_module - INFO - Module 'ansible' CLI commands registered
2026-03-16 21:10:17 - cli.main - DEBUG - Registering module class: ComposeModule
2026-03-16 21:10:17 - cli.core.module.base_module - DEBUG - Registering CLI commands for module 'compose'
2026-03-16 21:10:17 - cli.core.module.base_module - INFO - Initializing module 'compose'
2026-03-16 21:10:17 - cli.core.module.base_module - DEBUG - Module 'compose' configuration: description='Manage Docker Compose configurations'
2026-03-16 21:10:17 - cli.core.library - DEBUG - Loaded git library 'default' from /home/administrator/.config/boilerplates/libraries/default/library with priority 1
2026-03-16 21:10:17 - cli.core.module.base_module - INFO - Module 'compose' CLI commands registered
2026-03-16 21:10:17 - cli.main - DEBUG - Registering module class: HelmModule
2026-03-16 21:10:17 - cli.core.module.base_module - DEBUG - Registering CLI commands for module 'helm'
2026-03-16 21:10:17 - cli.core.module.base_module - INFO - Initializing module 'helm'
2026-03-16 21:10:17 - cli.core.module.base_module - DEBUG - Module 'helm' configuration: description='Manage Helm configurations'
2026-03-16 21:10:17 - cli.core.library - DEBUG - Loaded git library 'default' from /home/administrator/.config/boilerplates/libraries/default/library with priority 1
2026-03-16 21:10:17 - cli.core.module.base_module - INFO - Module 'helm' CLI commands registered
2026-03-16 21:10:17 - cli.main - DEBUG - Registering module class: KubernetesModule
2026-03-16 21:10:17 - cli.core.module.base_module - DEBUG - Registering CLI commands for module 'kubernetes'
2026-03-16 21:10:17 - cli.core.module.base_module - INFO - Initializing module 'kubernetes'
2026-03-16 21:10:17 - cli.core.module.base_module - DEBUG - Module 'kubernetes' configuration: description='Manage Kubernetes configurations'
2026-03-16 21:10:17 - cli.core.library - DEBUG - Loaded git library 'default' from /home/administrator/.config/boilerplates/libraries/default/library with priority 1
2026-03-16 21:10:17 - cli.core.module.base_module - INFO - Module 'kubernetes' CLI commands registered
2026-03-16 21:10:17 - cli.main - DEBUG - Registering module class: PackerModule
2026-03-16 21:10:17 - cli.core.module.base_module - DEBUG - Registering CLI commands for module 'packer'
2026-03-16 21:10:17 - cli.core.module.base_module - INFO - Initializing module 'packer'
2026-03-16 21:10:17 - cli.core.module.base_module - DEBUG - Module 'packer' configuration: description='Manage Packer configurations'
2026-03-16 21:10:17 - cli.core.library - DEBUG - Loaded git library 'default' from /home/administrator/.config/boilerplates/libraries/default/library with priority 1
2026-03-16 21:10:17 - cli.core.module.base_module - INFO - Module 'packer' CLI commands registered
2026-03-16 21:10:17 - cli.main - DEBUG - Registering module class: TerraformModule
2026-03-16 21:10:17 - cli.core.module.base_module - DEBUG - Registering CLI commands for module 'terraform'
2026-03-16 21:10:17 - cli.core.module.base_module - INFO - Initializing module 'terraform'
2026-03-16 21:10:17 - cli.core.module.base_module - DEBUG - Module 'terraform' configuration: description='Manage Terraform configurations'
2026-03-16 21:10:17 - cli.core.library - DEBUG - Loaded git library 'default' from /home/administrator/.config/boilerplates/libraries/default/library with priority 1
2026-03-16 21:10:17 - cli.core.module.base_module - INFO - Module 'terraform' CLI commands registered
2026-03-16 21:10:17 - cli.main - INFO - Application initialized: 6 modules registered successfully
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Traefik (id:traefik │ version:v3.6.8 │ library: default) ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
Traefik is a modern HTTP reverse proxy and load balancer that makes deploying microservices easy. This template sets up Traefik with automatic HTTPS using Let's Encrypt and can be integrated with Authentik for SSO.
References
• Project: https://traefik.io/
• Documentation: https://doc.traefik.io/traefik/
• GitHub: https://github.com/traefik/traefik
Template File Structure
traefik
├── .env
├── .env.secret.consumer_key
├── .env.secret.token
├── .env.secret.token_key
└── compose.yaml
Template Variables
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Variable ┃ Type ┃ Default ┃ Description ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ General │ │ │ │
│ service_name │ str │ traefik │ │
│ container_name │ str │ (none) │ │
│ container_hostname │ str │ (none) │ │
│ container_timezone │ str │ ((none)) Europe/...... │ │
│ container_loglevel │ enum │ (none) │ │
│ restart_policy () │ enum │ unless-stopped │ │
│ │ │ │ │
│ Ports │ │ │ │
│ ports_dashboard │ int │ 8080 │ Dashboard port (external) │
│ ports_http │ str │ 80 │ │
│ ports_https │ str │ 443 │ │
│ │ │ │ │
│ Settings (disabled) │ │ │ │
│ accesslog_enabled │ bool │ False │ Enable Traefik access log │
│ dashboard_enabled │ bool │ False │ Enable Traefik dashboard │
│ prometheus_enabled │ bool │ False │ Enable Prometheus metrics │
│ security_enabled │ bool │ True False │ Create production-ready security headers middleware │
│ traefik_network │ str │ (none) │ │
│ traefik_network_external │ bool │ False │ Use existing Docker network (external) │
│ │ │ │ │
│ TLS Settings (disabled) │ │ │ │
│ traefik_tls_enabled │ bool │ False │ Enable HTTPS/TLS with ACME │
│ traefik_tls_certresolver │ str │ cloudflare │ ACME DNS challenge provider │
│ traefik_tls_acme_email │ str │ (none) │ Email address for ACME │
│ traefik_tls_acme_endpoint │ str │ ovh-eu │ OVH API endpoint │
│ traefik_tls_acme_region │ str │ us-east-1 │ AWS Region │
│ traefik_tls_acme_resource_group │ str │ (none) │ Azure Resource Group │
│ traefik_tls_acme_secret_key │ str │ (none) │ DNS provider secret key │
│ traefik_tls_acme_subscription_id │ str │ (none) │ Azure Subscription ID │
│ traefik_tls_acme_tenant_id │ str │ (none) │ Azure Tenant ID │
│ traefik_tls_acme_token │ str │ (none) │ DNS provider API token │
│ traefik_tls_acme_username │ str │ (none) │ Namecheap API username │
│ traefik_tls_acme_consumer_key │ str │ (none) │ OVH Consumer Key │
│ traefik_tls_redirect │ bool │ True False │ Redirect all HTTP traffic to HTTPS │
│ traefik_tls_secure_ciphers │ bool │ False │ Enable strict cipher suites (recommended) │
│ traefik_tls_skipverify │ bool │ False │ Skip TLS verification for backend servers │
│ │ │ │ │
│ Volume │ │ │ │
│ volume_mode () │ enum │ local │ │
│ volume_mount_path │ str │ /mnt/storage │ │
│ volume_nfs_server │ str │ 192.168.1.1 │ │
│ volume_nfs_path │ str │ /export │ │
│ volume_nfs_options │ str │ rw,nolock,soft │ │
│ │ │ │ │
│ Docker Swarm (disabled) │ │ │ │
│ swarm_placement_mode │ enum │ replicated │ │
│ swarm_replicas │ int │ 1 │ │
│ swarm_placement_host │ str │ (none) │ Target hostname for placement constraint │
│ swarm_enabled │ bool │ False │ Enable Docker Swarm mode │
└────────────────────────────────────┴──────┴──────────────────────────┴─────────────────────────────────────────────────────┘
Warning: Using positional argument for output directory is deprecated and will be removed in v0.2.0 (Use --output/-o flag instead)
Customize any settings? [y/n] (n): y
General
service_name (traefik):
container_name (): traefik
container_hostname (): traefik
container_timezone (Europe/......):
container_loglevel (Options: debug, info, warn, error) (debug):
restart_policy *required (Options: unless-stopped, always, on-failure, no) (unless-stopped):
Ports
ports_http (Maps to entrypoint 'web') (80):
ports_https (Maps to entrypoint 'websecure') (443):
Settings
Configure Traefik features and settings
Enable Traefik dashboard (WARNING: Don't use in production!) [y/n] (n):
TLS Settings
Enable HTTPS/TLS with ACME [y/n] (n): y
ACME DNS challenge provider *required (DNS provider for domain validation) (cloudflare):
Email address for ACME *required (): nobody@example.com
DNS provider API token *required (CF_DNS_API_TOKEN, DO_AUTH_TOKEN, GODADDY_API_KEY, NAMECHEAP_API_KEY, OVH_APPLICATION_KEY, or PORKBUN_API_KEY) ():
Redirect all HTTP traffic to HTTPS [y/n] (n): y
Enable strict cipher suites (recommended) (Enforces modern, secure cipher suites) [y/n] (n): y
Skip TLS verification for backend servers (WARNING: Only enable for self-signed certificates in trusted environments) [y/n] (n): y
Volume
volume_mode *required (Options: local, mount, nfs) (local):
Docker Swarm
Enable Docker Swarm mode [y/n] (n): n
Next Steps
Start the traefik project
1 Copy the project directory for traefik to the host.
2 Start Traefik with Docker Compose from the project directory: docker compose up -d