fix: change default bind to be localhost

This commit is contained in:
2026-05-26 20:15:26 +00:00
parent de02c29fc9
commit af6d70fe6e
3 changed files with 4 additions and 5 deletions
+2 -3
View File
@@ -27,9 +27,8 @@ docker run --rm -p 3000:3000 -v "$PWD/excali-box-data:/data" excali
This will make the data persistent in the `excali-box-data` folder in the current directory, the site will be available at `localhost:3000`.
> Note that this command will bind to ALL interfaces. If you use a rev
> proxy, you may want to bind to locahost instead, you can do that by setting the `HOST` environment variable to `localhost`:
By default, this image binds to `localhost`. To expose it on all interfaces, set `HOST=0.0.0.0`:
```bash
docker run --rm -p 3000:3000 -v "$PWD/excali-box-data:/data" -e HOST=localhost excali
docker run --rm -p 3000:3000 -v "$PWD/excali-box-data:/data" -e HOST=0.0.0.0 excali
```