Dan Anglin
dd339eb3d6
This commit comes after provisioning the development environment. Changes: - templates: template the container name. - mage: update the deploy target to deploy to specific environments. - compose: fix network ref. - traefik: merge all dynamic templates into one file. - woodpecker(dockerfile): remove commands to copy entrypoint to the docker container since the entrypoint has been removed. - traefik: add support for using existing TLS certificates.
36 lines
913 B
Go Template
36 lines
913 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 }}"
|
|
{{- if .Traefik.GenerateAcmeCertificates }}
|
|
certificatesResolvers:
|
|
resolver:
|
|
acme:
|
|
email: "{{ .Traefik.AcmeEmail }}"
|
|
storage: "{{ .Traefik.TlsContainerDirectory }}/acme.json"
|
|
keyType: "RSA4096"
|
|
tlsChallenge: {}
|
|
{{- end }}
|
|
log:
|
|
level: "{{ .Traefik.LogLevel }}"
|