diff --git a/docs/content/2.deploy/providers/bun.md b/docs/content/2.deploy/providers/bun.md index 67f2614cb6..c8bed2e9ab 100644 --- a/docs/content/2.deploy/providers/bun.md +++ b/docs/content/2.deploy/providers/bun.md @@ -10,8 +10,15 @@ Bun preset is experimental and available to try via [edge channel](/guide/gettin ## Building for Bun -After building with bun preset using `NITRO_PRESET=bun`, you can run server in production using: +After building with bun preset using `NITRO_PRESET=bun`, you can run the server in production using: ```bash bun run ./.output/server/index.mjs ``` + +### Environment Variables + +You can customize server behavior using the following environment variables: + +- `NITRO_PORT` or `PORT` (defaults to `3000`) +- `NITRO_UNIX_SOCKET` - if provided (a path to the desired socket file) the service will be served over the provided UNIX socket.