From 9533554cac0fe373a6ce5bf74c6f4c3f02344539 Mon Sep 17 00:00:00 2001 From: Clemens Klug Date: Tue, 12 Jun 2018 13:57:08 +0200 Subject: [PATCH] frontend-reference: add https port mapping --- frontend/Readme.md | 11 +++++++---- frontend/traefik/docker-compose.yml | 3 ++- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/frontend/Readme.md b/frontend/Readme.md index 8ede456..d01328e 100644 --- a/frontend/Readme.md +++ b/frontend/Readme.md @@ -26,10 +26,13 @@ 1. Be on a host with port 80 available from the internet 2. Follw HTTP usage above up to step 2 -3. Add acme.json volume: - * Uncomment the line for the acme.json volume - * Adjust the host path - * Syntax: : +3. Reconfigure docker-compose + * Add acme.json volume: + * Uncomment the line for the acme.json volume + * Adjust the host path + * Syntax: : + * Add port mapping for HTTPS + * Uncomment the line for the 443:443 port mapping 4. Create acme.json * touch acme.json * chmod 600 acme.json diff --git a/frontend/traefik/docker-compose.yml b/frontend/traefik/docker-compose.yml index 6d53c8e..5d4b58e 100644 --- a/frontend/traefik/docker-compose.yml +++ b/frontend/traefik/docker-compose.yml @@ -5,10 +5,11 @@ services: command: --configFile=/traefik.toml volumes: - ./config.toml:/traefik.toml -# - /srv/traefik/acme.json:/acme.json +# - /srv/traefik/acme.json:/acme.json - /var/run/docker.sock:/var/run/docker.sock ports: - 80:80 +# - 443:443 networks: - net labels: