big juicy update
This commit is contained in:
parent
b58086263b
commit
1b6651c8e0
5 changed files with 101 additions and 11 deletions
16
README.md
16
README.md
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue