services/templates/traefik/traefik.yaml.gotmpl
Dan Anglin ba9a865b55
chore(traefik): remove mounted shared directory
The mounted shared directory is no longer needed for now so it will
removed from all containers that are mounting it.

Changes for Traefik:

- Build all dynamic configurations inside the Traefik container.
- Remove the mount point for the shared directory.
2023-08-26 13:25:41 +01:00

34 lines
858 B
Go Template

---
global:
checkNewVersion: {{ .Traefik.CheckNewVersion }}
sendAnonymousUsage: {{ .Traefik.SendAnonymousUsage }}
api:
insecure: false
dashboard: false
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.DynamicConfigDirectory }}"
certificatesResolvers:
resolver:
acme:
email: "{{ .Traefik.AcmeEmail }}"
storage: "{{ .Traefik.TlsContainerDirectory }}/acme.json"
keyType: "RSA4096"
tlsChallenge: {}
log:
level: "{{ .Traefik.LogLevel }}"