From 8382b812098f52a7b8e9504411a4b6ee1488c20d Mon Sep 17 00:00:00 2001 From: Martin Date: Wed, 15 May 2024 09:38:01 +0200 Subject: [PATCH] Update ocis_wopi docker-compose.yml --> add staging for letsencrypt Adding a command plus comments how to deal with the Letsencrypt staging environment. --- deployments/examples/ocis_wopi/docker-compose.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/deployments/examples/ocis_wopi/docker-compose.yml b/deployments/examples/ocis_wopi/docker-compose.yml index 5f26e615c..0cd17c4dc 100644 --- a/deployments/examples/ocis_wopi/docker-compose.yml +++ b/deployments/examples/ocis_wopi/docker-compose.yml @@ -18,6 +18,13 @@ services: - "--certificatesResolvers.http.acme.email=${TRAEFIK_ACME_MAIL:-example@example.org}" - "--certificatesResolvers.http.acme.storage=/certs/acme.json" - "--certificatesResolvers.http.acme.httpChallenge.entryPoint=http" + + # Uncomment the command for testing when using real certificates: + # You will get an SSL error in the browser, but if you display the certificate and see it was emitted by + # "Fake LE Intermediate X1", it means all is good. It is the staging environment intermediate certificate used by Let's Encrypt. + # Re-comment to create real certificates. + #- "--certificatesresolvers.http.acme.caserver=https://acme-staging-v02.api.letsencrypt.org/directory" + # enable dashboard - "--api.dashboard=true" # define entrypoints