fix: Added Traefik Certificate Specification
This commit is contained in:
parent
93f0551ac6
commit
f4f33b95fc
|
@ -8,6 +8,8 @@ services:
|
||||||
- --entrypoints.web.address=:80
|
- --entrypoints.web.address=:80
|
||||||
- --entrypoints.websecure.address=:443
|
- --entrypoints.websecure.address=:443
|
||||||
- --providers.docker=true
|
- --providers.docker=true
|
||||||
|
- --providers.file.watch=true
|
||||||
|
- --providers.file.directory=/configuration/
|
||||||
- --api.dashboard=true
|
- --api.dashboard=true
|
||||||
- --accesslog=true # print access-logs
|
- --accesslog=true # print access-logs
|
||||||
- --entrypoints.web.http.redirections.entrypoint.to=websecure
|
- --entrypoints.web.http.redirections.entrypoint.to=websecure
|
||||||
|
@ -24,6 +26,7 @@ services:
|
||||||
- 443:443
|
- 443:443
|
||||||
volumes:
|
volumes:
|
||||||
- ../certs:/tools/certs
|
- ../certs:/tools/certs
|
||||||
|
- ../lib/traefik-configuration/:/configuration
|
||||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
|
|
||||||
forward_proxy:
|
forward_proxy:
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
tls:
|
||||||
|
certificates:
|
||||||
|
- certFile: /certs/certificate.pem
|
||||||
|
keyFile: /certs/private-key.pem
|
Loading…
Reference in New Issue