Correctif pour la configuration des certificats.
This commit is contained in:
+2
-1
@@ -20,7 +20,7 @@ services:
|
|||||||
- "--providers.docker=true"
|
- "--providers.docker=true"
|
||||||
- "--providers.docker.exposedbydefault=false"
|
- "--providers.docker.exposedbydefault=false"
|
||||||
- "--providers.docker.network=frontend"
|
- "--providers.docker.network=frontend"
|
||||||
- "--providers.file.filename=./tls.yaml"
|
- "--providers.file.filename=/etc/traefik/tls.yaml"
|
||||||
#
|
#
|
||||||
- "--entrypoints.web.address=:80"
|
- "--entrypoints.web.address=:80"
|
||||||
- "--entrypoints.web.http.redirections.entrypoint.to=websecure"
|
- "--entrypoints.web.http.redirections.entrypoint.to=websecure"
|
||||||
@@ -41,6 +41,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
- ./certs:/certs:ro
|
- ./certs:/certs:ro
|
||||||
|
- ./tls.yaml:/etc/traefik/tls.yaml:ro
|
||||||
networks:
|
networks:
|
||||||
- frontend
|
- frontend
|
||||||
- backend
|
- backend
|
||||||
|
|||||||
Reference in New Issue
Block a user