From 124aff9f08fa0529326009b405f2bdb0a811321e Mon Sep 17 00:00:00 2001 From: Trong Huu Nguyen Date: Thu, 21 Jul 2022 08:37:55 +0200 Subject: [PATCH] docs: note some gotchas for the docker compose setup [ci skip] --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a8e2649..7c621ec 100644 --- a/README.md +++ b/README.md @@ -162,7 +162,11 @@ See the [docker-compose file](docker-compose.yml) for an example setup: - Requires an environment variable `WONDERWALL_OPENID_CLIENT_JWK` with a private JWK. - This can be acquired from . - - Set the environment variable in an `.env` file that Docker Compose automatically detects and uses. + - Set the environment variable in an `.env` file that Docker Compose automatically detects and uses + - Environment variables can be finicky with escaping, so try to wrap the value with single quotation marks. + - E.g. `WONDERWALL_OPENID_CLIENT_JWK='{ "p": "_xCP...", ... }'`. +- You need to be able to reach `host.docker.internal` to reach the identity provider mock, so make sure you +have `127.0.0.1 host.docker.internal` in your `/etc/hosts` file. - By default, the setup will use the latest available pre-built image. - If you want to will build a fresh binary from the cloned source, replace the following