From b780ca6bf74c64e8ca5f7ce5a97aba5261fe697d Mon Sep 17 00:00:00 2001 From: bluepuma77 Date: Tue, 14 Feb 2023 22:35:00 +0100 Subject: [PATCH] beautify --- docker-traefik-dashboard-letsencrypt/README.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/docker-traefik-dashboard-letsencrypt/README.md b/docker-traefik-dashboard-letsencrypt/README.md index b52eabc..ee81e03 100644 --- a/docker-traefik-dashboard-letsencrypt/README.md +++ b/docker-traefik-dashboard-letsencrypt/README.md @@ -2,7 +2,7 @@ Simple `docker-compose.yml` template to run Traefik and a whoami service with Docker. -Features: +## Features: - Traefik is listening on ports 80 (http) and 443 (https) - All http requests will be redirected to secure https requests @@ -10,13 +10,16 @@ Features: - Letsencrypt will automatically generate TLS/SSL certificates for all domains in `Host()` - Traefik log (`level=INFO`) and access log are enabled to container stdout/stderr - Traefik dashboard is enabled at `https://traefik.example.com/dashboard/` with user/pass test/test -- Example whoami router will automatically redirect from “www.whoami.example.com” to “whoami.example.com” +- Example whoami router will automatically redirect from "www.whoami.example.com" to "whoami.example.com" -Deployment: +## Deployment: - Adapt all domain names in `Host()` - Adapt `acme.email` - Adapt dashboard username/password -- When using Traefik v2, remove line `entrypoints.websecure.asDefault=true` - For production: write logs files to mounted folder on host - Run `docker compose up -d` + +## Problems: + +- When using Traefik v2, remove line `entrypoints.websecure.asDefault=true`