services/templates/traefik/traefik.yaml.gotmpl
Dan Anglin 3340ddc475
build: automation with Go and Mage
We shall now use Go and Mage to manage the Flow services. The templates
have been converted to Go templates, Mage has replaced Make and the
helper bash scripts have been rewritten in Go.
2023-02-12 20:59:55 +00:00

36 lines
903 B
Go Template

---
global:
checkNewVersion: {{ .Traefik.CheckNewVersion }}
sendAnonymousUsage: {{ .Traefik.SendAnonymousUsage }}
api:
insecure: false
dashboard: true
debug: false
entryPoints:
http:
address: "{{ .Traefik.ContainerIpv4Address }}:80"
http:
redirections:
entryPoint:
to: "https"
scheme: "https"
permanent: true
https:
address: "{{ .Traefik.ContainerIpv4Address }}:443"
gitSSH:
address: "{{ .Traefik.ContainerIpv4Address }}:{{ .Traefik.ExternalSSHPort }}"
providers:
file:
watch: true
directory: "{{ .Traefik.SharedMountPoint }}/dynamic"
certificatesResolvers:
resolver:
acme:
email: "{{ .Traefik.AcmeEmail }}"
storage: "{{ .Traefik.TlsContainerDirectory }}/acme.json"
keyType: "RSA4096"
tlsChallenge: {}
log:
level: "{{ .Traefik.LogLevel }}"
pilot:
token: "{{ .Traefik.PilotToken }}"