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