fix: rem localhost bind inside of container
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@ FROM oven/bun:1.3.11-alpine AS runner
|
|||||||
WORKDIR /app/dist
|
WORKDIR /app/dist
|
||||||
|
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
ENV HOST=localhost
|
ENV HOST=0.0.0.0
|
||||||
ENV PORT=3000
|
ENV PORT=3000
|
||||||
ENV DATABASE_PATH=/data/excalidraw.sqlite
|
ENV DATABASE_PATH=/data/excalidraw.sqlite
|
||||||
|
|
||||||
|
|||||||
@@ -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`.
|
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
|
|
||||||
```
|
|
||||||
|
|||||||
Reference in New Issue
Block a user