From bbb61036c8fa520bae0ffd36c7675d64c66e49f1 Mon Sep 17 00:00:00 2001 From: Erik Michelson Date: Mon, 14 Feb 2022 15:16:01 +0100 Subject: [PATCH] Use localhost instead of 127.0.0.1 in docker guide The example docker-compose.yml in the docker guide sets CMD_DOMAIN to localhost. This results in HedgeDoc only being startable from http://localhost:3000 as the Content-Security-Policy forbids access to e.g. http://127.0.0.1:3000. Despite that the docs used 127.0.0.1 for linking to the instance prior to this commit. Signed-off-by: Erik Michelson --- docs/content/setup/docker.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/setup/docker.md b/docs/content/setup/docker.md index 9afd211de..7929c12ca 100644 --- a/docs/content/setup/docker.md +++ b/docs/content/setup/docker.md @@ -44,7 +44,7 @@ volumes: database: uploads: ``` -After executing `docker-compose up`, HedgeDoc should be available at [http://127.0.0.1:3000](http://127.0.0.1:3000). +After executing `docker-compose up`, HedgeDoc should be available at [http://localhost:3000](http://localhost:3000). You can now continue to configure your container with environment variables. Check out [the configuration docs](/configuration) for more details.