- Rename the app to Kaname - Hub metadata per model (base models, architecture, license, Hub tags), backfilled by the worker for existing models - Library search across repo/author/family/quant/tags and multi-select facet filters (author, family, quant, tag, status) kept in the URL - Custom tags (model page editor, on add, click-to-filter) - README rewritten around a quick install, with banner and screenshots - deploy/compose.yaml: models in a host folder (KANAME_MODELS_DIR) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
2167ea0950
commit
67191b3e16
37 files changed
+2028
-206
No files matched your search
+5
-17
@@ -1,6 +1,6 @@
|
||||
# Server setup: put this file and a filled-in .env (from .env.example) in a folder, then
|
||||
# mkdir -p data && sudo chown 1000:1000 data
|
||||
# docker compose pull && docker compose up -d
|
||||
# Kaname: put this file and a filled-in .env (from .env.example) in one folder, then
|
||||
# mkdir -p data models && sudo chown 1000:1000 data models
|
||||
# docker compose up -d
|
||||
name: kaname
|
||||
|
||||
services:
|
||||
@@ -9,8 +9,8 @@ services:
|
||||
command: worker
|
||||
env_file: .env
|
||||
volumes:
|
||||
- ${KANAME_DATA_DIR:-./data}:/data
|
||||
- models:/models
|
||||
- ${KANAME_DATA_DIR:-./data}:/data # SQLite DB, shared with web (local disk, not NFS)
|
||||
- ${KANAME_MODELS_DIR:-./models}:/models # downloaded models (a host-mounted NAS share works)
|
||||
restart: unless-stopped
|
||||
|
||||
web:
|
||||
@@ -20,15 +20,3 @@ services:
|
||||
volumes:
|
||||
- ${KANAME_DATA_DIR:-./data}:/data
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
# Downloaded models on the NAS (only the worker mounts it). NFSv4 because hf uses file locks;
|
||||
# "hard" makes writes wait while the NAS is unreachable instead of failing half-written.
|
||||
# Docker keeps these options once the volume exists: after changing them, run
|
||||
# `docker compose down && docker volume rm kaname_models` (files on the NAS are not touched).
|
||||
models:
|
||||
driver: local
|
||||
driver_opts:
|
||||
type: nfs
|
||||
o: "addr=${NFS_SERVER:?set NFS_SERVER in .env},nfsvers=4.1,rw,hard,noatime"
|
||||
device: ":${NFS_EXPORT:?set NFS_EXPORT in .env}"
|
||||
Reference in new issue
Block a user