From 76d69006dbe20b8bc61b7f3f2049fc3ebefc1eb1 Mon Sep 17 00:00:00 2001 From: Erik Vroon Date: Tue, 4 Feb 2025 17:34:37 +0100 Subject: [PATCH] Add FAQ (#1098) --- docs/docs/running-bracket/configuration.md | 2 +- docs/docs/running-bracket/faq.md | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 docs/docs/running-bracket/faq.md diff --git a/docs/docs/running-bracket/configuration.md b/docs/docs/running-bracket/configuration.md index fa29a0a7..396937f7 100644 --- a/docs/docs/running-bracket/configuration.md +++ b/docs/docs/running-bracket/configuration.md @@ -1,5 +1,5 @@ --- -sidebar_position: 2 +sidebar_position: 1 --- # Configuration diff --git a/docs/docs/running-bracket/faq.md b/docs/docs/running-bracket/faq.md new file mode 100644 index 00000000..e465a6d8 --- /dev/null +++ b/docs/docs/running-bracket/faq.md @@ -0,0 +1,16 @@ +--- +sidebar_position: 2 +--- + +# FAQ + +## I ran Bracket with the default `docker-compose.yml` but I can't connect to the backend? + +This is likely because you are trying to access Bracket on a different address than +`http://localhost:3000` in the browser. In that case, two things need to be changed: + +- Change `NEXT_PUBLIC_API_BASE_URL` to the address of the backend, e.g `https://api.example.org`. +- You will also need to update `CORS_ORIGINS` to the address of the frontend, e.g. + `https://app.example.org`. + +Please consult [configuration docs](configuration.md) for more information.