big juicy update

This commit is contained in:
pavel 2026-05-12 23:31:09 +02:00
commit 1b6651c8e0
5 changed files with 101 additions and 11 deletions

View file

@ -22,6 +22,22 @@ Go + Postgres marketplace where authenticated users can upload LLM skill files,
```
5. Open `http://localhost:8080`.
## Listener configuration
- `LISTEN_NETWORK`: `tcp` (default) or `unix`
- `LISTEN_ADDRESS`:
- for `tcp`: address like `:8080` or `127.0.0.1:8080`
- for `unix`: socket path like `/tmp/skills2.sock`
- `UNIX_SOCKET_PERM`: octal file mode for unix socket path (default `0660`)
Examples:
- TCP (default):
- `LISTEN_NETWORK=tcp`
- `LISTEN_ADDRESS=:8080`
- Unix socket:
- `LISTEN_NETWORK=unix`
- `LISTEN_ADDRESS=/tmp/skills2.sock`
- `UNIX_SOCKET_PERM=0660`
## Local dev mode (no auth setup)
Set `DEV_MODE=true` in `.env`.
In this mode, protected routes always authenticate as: