fds
This commit is contained in:
parent
73b8f9dd71
commit
6987ece63f
@ -5,8 +5,6 @@ services:
|
||||
image: traefik:latest
|
||||
container_name: "traefik"
|
||||
restart: always
|
||||
command:
|
||||
- "--log.level=DEBUG"
|
||||
ports:
|
||||
- "8888:80"
|
||||
- "8443:443"
|
||||
@ -19,7 +17,7 @@ services:
|
||||
# Mapping sur le socket interne de Docker
|
||||
- '/var/run/docker.sock:/var/run/docker.sock'
|
||||
# Mapping du fichier de configuration statique
|
||||
- '/volume1/docker/traefik/conf/traefik.yml:/traefik.yml'
|
||||
- '/volume1/docker/traefik/conf/traefik.yml:/etc/traefik/traefik.yml'
|
||||
# Mapping du dossier contenant la configuration dynamique
|
||||
#- './conf/dyn_traefik/:/dyn_traefik/'
|
||||
# Mapping du fichier de stockage des certificats
|
||||
|
21
traefik.yml
21
traefik.yml
@ -1,23 +1,18 @@
|
||||
entryPoints:
|
||||
web:
|
||||
address: ":80"
|
||||
http:
|
||||
redirections:
|
||||
entryPoint:
|
||||
to: websecure
|
||||
scheme: https
|
||||
permanent: true
|
||||
# http:
|
||||
# redirections:
|
||||
# entryPoint:
|
||||
# to: websecure
|
||||
# scheme: https
|
||||
# permanent: true
|
||||
|
||||
websecure:
|
||||
address: ":443"
|
||||
|
||||
|
||||
http:
|
||||
routers:
|
||||
my-router:
|
||||
rule: "Path(`/foo`)"
|
||||
service: service-foo
|
||||
|
||||
log:
|
||||
level: DEBUG
|
||||
|
||||
api:
|
||||
insecure: true
|
||||
|
Loading…
Reference in New Issue
Block a user