From d8be743ef487e554c114fab1810a36c9826223ea Mon Sep 17 00:00:00 2001 From: Aymeric Rabot Date: Tue, 4 Aug 2026 18:39:57 -0400 Subject: [PATCH] docs: document the docker workflow Docker support landed in #268 with no mention in SETUP.md, so the only way to find it was to notice the compose file. Records the port constraint too, since remapping it 500s the /scenes page for a non-obvious reason. Co-Authored-By: Claude Opus 5 --- SETUP.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/SETUP.md b/SETUP.md index 76df56d73..86cbe3421 100644 --- a/SETUP.md +++ b/SETUP.md @@ -27,6 +27,20 @@ cp .env.example .env The editor works fully without any environment variables. +## Docker + +```bash +docker compose up -d +``` + +The editor will be running at **http://localhost:3000**. Saved scenes live in +the `pascal-data` volume, so they survive `docker compose down`. + +Keep the container port at 3000: the `/scenes` page fetches its own API through +a base URL that only `NEXT_PUBLIC_APP_URL` can override, and Next inlines that +value at build time, so remapping the port to something else makes the page +return 500. + ## Monorepo Structure ```