Traefik File Template¶
Overview¶
Traefik File Template is a Saltbox module that generates a Traefik file template.
Deployment¶
sb install generate-traefik-file-template
Role Defaults¶
Variables can be customized using the Inventory. (1)
-
Example override
traefik_file_template_file: "custom_value"Avoid overriding variables ending in
_defaultWhen overriding variables that end in
_default(liketraefik_file_template_docker_envs_default), you replace the entire default configuration. Future updates that add new default values will not be applied to your setup, potentially breaking functionality.Instead, use the corresponding
_customvariable (liketraefik_file_template_docker_envs_custom) to add your changes. Custom values are merged with defaults, ensuring you receive updates.
traefik_file_template_file
# Type: string
traefik_file_template_file: "/tmp/traefik-app.yml"