README: move NAS guide and config reference to the wiki
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
67191b3e16
commit
d16bd6dfee
2 files changed
+10
-34
No files matched your search
@@ -6,6 +6,11 @@ step 1 (Hugging Face downloader) is released as a minor version.
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### Changed
|
||||
|
||||
- Docs: full configuration reference and the NAS guide moved to the
|
||||
[wiki](https://git.linxweiler.xyz/pascallinxweiler/Kaname/wiki); the README keeps the quick install.
|
||||
|
||||
## [0.4.0] - 2026-10-05
|
||||
|
||||
The app is now called **Kaname**; search, filters and tags.
|
||||
|
||||
@@ -47,44 +47,15 @@ Open your `AUTH_URL`, sign in, click **Add model**. That's it.
|
||||
**Updating:** `docker compose pull && docker compose up -d`. To stay on a version, set e.g.
|
||||
`KANAME_VERSION=0.4.0` in `.env`. The running version is shown next to the app name.
|
||||
|
||||
### Storing models on a NAS
|
||||
|
||||
Mount the share on the Docker host and point `KANAME_MODELS_DIR` at it, e.g. in `/etc/fstab`:
|
||||
|
||||
```
|
||||
truenas.lan:/mnt/tank/models /mnt/nas/models nfs4 rw,hard,noatime,_netdev 0 0
|
||||
```
|
||||
|
||||
```bash
|
||||
# .env
|
||||
KANAME_MODELS_DIR=/mnt/nas/models
|
||||
```
|
||||
|
||||
- Use NFSv4: the `hf` CLI uses file locks.
|
||||
- The share must be writable for uid 1000 (dataset owner 1000, or TrueNAS *Mapall User/Group*).
|
||||
- Mount it before the containers start (`_netdev`), otherwise Docker uses the empty local folder.
|
||||
- Keep `KANAME_DATA_DIR` on local disk: SQLite doesn't work reliably on NFS.
|
||||
|
||||
## Configuration
|
||||
|
||||
All settings live in `.env` (see [`.env.example`](.env.example)):
|
||||
|
||||
| Variable | Default | |
|
||||
| --- | --- | --- |
|
||||
| `AUTH_URL` | | Public URL of Kaname (used for the OIDC redirect) |
|
||||
| `AUTH_SECRET` | | Secret for session cookies |
|
||||
| `OIDC_ISSUER`, `OIDC_CLIENT_ID`, `OIDC_CLIENT_SECRET` | | OIDC provider (authorization code + PKCE) |
|
||||
| `OIDC_ALLOWED_GROUPS` | *(anyone)* | Comma-separated groups from the `groups` claim |
|
||||
| `HF_TOKEN` | | Hugging Face token (read-only is enough) |
|
||||
| `KANAME_DATA_DIR` | `./data` | Host folder for the SQLite DB (local disk) |
|
||||
| `KANAME_MODELS_DIR` | `./models` | Host folder for downloaded models |
|
||||
| `WEB_PORT` | `3000` | Host port of the web UI |
|
||||
| `KANAME_VERSION` | `latest` | Image tag to run |
|
||||
| `MAX_CONCURRENT_DOWNLOADS` | `1` | Downloads running in parallel |
|
||||
| `UPDATE_CHECK_INTERVAL_HOURS` | `12` | Hub update checks (`0` = off) |
|
||||
| `HF_HUB_DISABLE_XET` | `1` | `0` uses Xet transfers (progress then only moves in large jumps) |
|
||||
All settings live in `.env`. The four steps above cover the required ones; the **[configuration
|
||||
reference in the wiki](https://git.linxweiler.xyz/pascallinxweiler/Kaname/wiki/Configuration)**
|
||||
lists every option with defaults and examples (folders, ports, download tuning, OIDC groups, which
|
||||
Hugging Face token to use).
|
||||
|
||||
Models end up in `<models folder>/<org>/<repo>/`, e.g. `models/unsloth/Qwen3-8B-GGUF/`.
|
||||
More guides are in the [wiki](https://git.linxweiler.xyz/pascallinxweiler/Kaname/wiki).
|
||||
|
||||
## Using it
|
||||
|
||||
|
||||
Reference in new issue
Block a user