Files
Kaname/.env.example
T
Pascal LinxweilerandClaude Opus 5.5 5becfc47a0
Release / release (push) Successful in 4m33s
Release 0.16.0: new look, search, remove files, easier deploy
- Dot-matrix "Creation of Adam" page banners behind a floating menu,
  glass cards and tables, library header with live stats, table toolbar
  with pagination, Cmd/Ctrl+K search across models, endpoints, runs,
  tags, settings and actions.
- Remove single files from a model (selection + disk, via a worker job).
- Containers start as root to prepare folders and drop to PUID:PGID;
  AUTH_SECRET is generated when unset; sandbox runs as nobody;
  KANAME_IMAGE and image docs in the README.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 14:06:46 +01:00

65 lines
2.8 KiB
Bash

# Kaname settings. Copy to .env next to compose.yaml and fill in the "Required" part; everything
# else has working defaults. Full reference: https://git.linxweiler.xyz/pascallinxweiler/Kaname/wiki/Configuration
# ---------------------------------------------------------------------------
# Required
# ---------------------------------------------------------------------------
# The address you open Kaname at in the browser (no trailing slash). The OIDC redirect URI to
# register with your provider is <AUTH_URL>/api/auth/callback/pocket-id
AUTH_URL=http://localhost:3000
# OIDC provider (e.g. Pocket ID): authorization code flow with PKCE
OIDC_ISSUER=https://auth.example.com
OIDC_CLIENT_ID=
OIDC_CLIENT_SECRET=
# ---------------------------------------------------------------------------
# Recommended
# ---------------------------------------------------------------------------
# Hugging Face token: read-only is enough. Needed for gated/private repos, recommended anyway
# (higher rate limits). Stays on the server; never sent to the browser or written to logs.
HF_TOKEN=
# Optional, comma-separated: only members of these groups (`groups` claim) can log in.
OIDC_ALLOWED_GROUPS=
# ---------------------------------------------------------------------------
# Folders, port and image (deploy/compose.yaml)
# ---------------------------------------------------------------------------
# SQLite database and benchmark results. Must be on local disk, not NFS.
KANAME_DATA_DIR=./data
# Downloaded models. Can be a NAS share mounted on the host, e.g. /mnt/nas/models.
KANAME_MODELS_DIR=./models
# Host port of the web UI
WEB_PORT=3000
# The user Kaname runs as (and owns the files it writes). Set these to the owner of your models
# folder, e.g. the uid/gid of a NAS share (`ls -ln /mnt/nas/models`). New, empty folders are set up
# for this user automatically.
PUID=1000
PGID=1000
# Image tag, e.g. 0.16.0 (default: latest). KANAME_IMAGE replaces the registry/name if you build or
# mirror the image yourself.
KANAME_VERSION=
KANAME_IMAGE=
# ---------------------------------------------------------------------------
# Optional
# ---------------------------------------------------------------------------
# Random secret for session cookies. Empty: generated on first start and kept in the data folder.
AUTH_SECRET=
# launch80.com publish token (comes with the launch80 Supporter role). Lets you publish a benchmark
# run as a public launch80 page, after a preview and an explicit confirmation. Stays on the server.
L80_TOKEN=
MAX_CONCURRENT_DOWNLOADS=1
# How often the worker checks every model on the Hub (still there? newer commit?); 0 disables it
UPDATE_CHECK_INTERVAL_HOURS=12
# 1 (default): hf downloads over plain HTTP, so progress can be measured from bytes on disk.
# 0: use Xet (chunk-level dedup on updates). Files over 50 GB always use Xet.
HF_HUB_DISABLE_XET=1