Traefik File Template¶
Overview¶
Traefik File Template is a Saltbox module that generates a Traefik file template.
Deployment¶
sb install generate-traefik-file-template
Usage¶
-
Run the tag and answer the prompts. The file will be saved as
/tmp/traefik-app.ymlby default. -
Edit the file as appropriate for your application.
-
Deploy the file by moving it into
/opt/traefik—Traefik will pick it up automatically. -
Ensure a DNS A record exists that points to the application (e.g.,
appname.yourdomain.tld). This can be achieved by creating it manually, by running DDNS (Cloudflare only), or through a wildcard DNS record. -
Assuming you have configured everything correctly, your application is now published at https://iCUSTOM_APP_FQDNi.