From 9b44356782a3b31ee2e7b3c54e9b03125e740d53 Mon Sep 17 00:00:00 2001 From: ruinivist Date: Tue, 26 May 2026 22:05:50 +0000 Subject: [PATCH] fix: rem localhost bind inside of container --- Dockerfile | 2 +- README.md | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0a751d6..5b85c7f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ FROM oven/bun:1.3.11-alpine AS runner WORKDIR /app/dist ENV NODE_ENV=production -ENV HOST=localhost +ENV HOST=0.0.0.0 ENV PORT=3000 ENV DATABASE_PATH=/data/excalidraw.sqlite diff --git a/README.md b/README.md index 09a6611..c4ab0fb 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,3 @@ docker run --rm -p 127.0.0.1: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`. - -```bash -docker run --rm -p 127.0.0.1:3000:3000 -v "$PWD/excali-box-data:/data" -e HOST=0.0.0.0 excali -```