From 5a32414e03eab2944690ec254eb3dcaf75532d10 Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Sun, 8 Aug 2021 12:46:43 +0200 Subject: [PATCH] Docker: Improve HTTPS docs for cloud config --- docker/examples/cloud/docker-compose.yml | 4 ++-- docker/examples/cloud/traefik.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docker/examples/cloud/docker-compose.yml b/docker/examples/cloud/docker-compose.yml index 41e21fc10..a781c450e 100644 --- a/docker/examples/cloud/docker-compose.yml +++ b/docker/examples/cloud/docker-compose.yml @@ -109,14 +109,14 @@ services: # !! REMOVE default route if your server has a public domain name !! - "traefik.http.routers.photoprism.rule=PathPrefix(`/`)" # !! UNCOMMENT and CHANGE to set the public domain name !! - # - "traefik.http.routers.photoprism.rule=Host(`custom.domain.com`)" + # - "traefik.http.routers.photoprism.rule=Host(`photos.yourdomain.com`)" # !! UNCOMMENT to enable Let's Encrypt HTTPS !! # - "traefik.http.routers.photoprism.tls.certresolver=myresolver" # !! REMOVE both for Let's Encrypt HTTPS with default HTTP challenge (DNS challenge supports wildcards) !! - "traefik.http.routers.photoprism.tls.domains[0].main=example.com" - "traefik.http.routers.photoprism.tls.domains[0].sans=*.example.com" environment: - # !! CHANGE site url if your server has a public domain name !! + # !! CHANGE site url if your server has a public domain name e.g. "https://photos.yourdomain.com/" !! PHOTOPRISM_SITE_URL: "https://_public_ip_/" PHOTOPRISM_SITE_TITLE: "PhotoPrism" PHOTOPRISM_SITE_CAPTION: "Browse Your Life" diff --git a/docker/examples/cloud/traefik.yaml b/docker/examples/cloud/traefik.yaml index 6d0266e77..2c4ffbcb3 100644 --- a/docker/examples/cloud/traefik.yaml +++ b/docker/examples/cloud/traefik.yaml @@ -42,8 +42,8 @@ certificatesResolvers: myresolver: # See https://doc.traefik.io/traefik/https/acme/ acme: - # !! REPLACE "info@example.com" with your actual email address for Let's Encrypt HTTPS !! - email: info@example.com + # !! REPLACE "info@yourdomain.com" with your actual email address for Let's Encrypt HTTPS !! + email: info@yourdomain.com storage: /data/letsencrypt.json httpChallenge: entryPoint: web