Bind evaluation server to loopback by default
This commit is contained in:
1 parent
ddad698a1a
commit
b235ee35e8
3 files changed
+29
-3
No files matched your search
@@ -0,0 +1,24 @@
|
||||
# Local evaluation on aiworker
|
||||
|
||||
This fork is evaluated from `/root/projects/pi-webui` on the aiworker container.
|
||||
|
||||
Because the app exposes a Pi coding-agent session with filesystem and shell tools, the local evaluation server is bound to loopback by default using `HOST=127.0.0.1`. Use an SSH tunnel to reach it from another machine instead of exposing it directly.
|
||||
|
||||
## Commands used
|
||||
|
||||
```bash
|
||||
npm ci --ignore-scripts
|
||||
npm run build
|
||||
HOST=127.0.0.1 PORT=3001 npm start
|
||||
```
|
||||
|
||||
Health check:
|
||||
|
||||
```bash
|
||||
curl -I http://127.0.0.1:3001/
|
||||
```
|
||||
|
||||
## Repository remotes
|
||||
|
||||
- `origin`: `ssh://git@git.openfu.com:11622/udo/pi-webui.git`
|
||||
- `upstream`: `https://github.com/Zetaphor/pi-webui.git`
|
||||
Reference in new issue
Block a user