fix: Added Traefik Certificate Specification

This commit is contained in:
Torben Brenner 2022-09-26 10:51:35 +02:00
parent 93f0551ac6
commit f4f33b95fc
2 changed files with 8 additions and 1 deletions

View File

@ -7,7 +7,9 @@ services:
command:
- --entrypoints.web.address=:80
- --entrypoints.websecure.address=:443
- --providers.docker=true
- --providers.docker=true
- --providers.file.watch=true
- --providers.file.directory=/configuration/
- --api.dashboard=true
- --accesslog=true # print access-logs
- --entrypoints.web.http.redirections.entrypoint.to=websecure
@ -24,6 +26,7 @@ services:
- 443:443
volumes:
- ../certs:/tools/certs
- ../lib/traefik-configuration/:/configuration
- /var/run/docker.sock:/var/run/docker.sock:ro
forward_proxy:

View File

@ -0,0 +1,4 @@
tls:
certificates:
- certFile: /certs/certificate.pem
keyFile: /certs/private-key.pem