This commit is contained in:
mathieu 2024-05-20 13:39:50 +02:00
parent 1b32ea1c17
commit fa886aaac4
2 changed files with 18 additions and 4 deletions

View File

@ -10,7 +10,8 @@ services:
- default
ports:
# The HTTP port
- "8188:80"
- "1080:80"
- "1443:443"
# The Web UI (enabled by --api.insecure=true)
- "8088:8080"
volumes:
@ -22,7 +23,10 @@ services:
# A container that exposes an API to show its IP address
image: traefik/whoami
labels:
- "traefik.http.routers.whoami.rule=Path(`/whoami`)"
labels:
- traefik.http.routers.blog.rule=Host(`huguettes.freeboxos.fr`) && Path(`/whoami`)
- traefik.http.routers.blog.tls=true
- traefik.http.routers.blog.tls.certresolver=myresolver
networks:
web:

View File

@ -13,8 +13,18 @@ entryPoints:
# scheme: https
# permanent: true
# websecure:
# address: ":443"
websecure:
address: ":443"
certificatesResolvers:
myresolver:
acme:
email: lecoiffiermathieu@gmail.com
storage: acme.json
httpChallenge:
# used during the challenge
entryPoint: web
log:
level: DEBUG