With OIDC_ISSUER, OIDC_CLIENT_ID and OIDC_CLIENT_SECRET empty (or at the .env.example placeholders) Kaname needs no login. With all three set, OIDC works as before; only some set is an error. /api/v1 still requires tokens. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
29 lines
1.1 KiB
Bash
29 lines
1.1 KiB
Bash
# Kaname settings: copy to .env next to compose.yaml and fill in.
|
|
# All options: https://git.linxweiler.xyz/pascallinxweiler/Kaname/wiki/Configuration
|
|
|
|
# Read-only Hugging Face token (needed for gated repos, higher rate limits)
|
|
HF_TOKEN=
|
|
MAX_CONCURRENT_DOWNLOADS=1
|
|
UPDATE_CHECK_INTERVAL_HOURS=12
|
|
|
|
# Login (optional). Leave OIDC_* empty (or at these placeholders) to run without any login:
|
|
# then anyone who can reach Kaname can use it. To require an OIDC login, set all three.
|
|
# AUTH_URL is the address you open Kaname at; register
|
|
# <AUTH_URL>/api/auth/callback/pocket-id as redirect URI with your OIDC provider.
|
|
# AUTH_SECRET: any random string (openssl rand -base64 32); empty = generated on first start.
|
|
AUTH_SECRET=
|
|
AUTH_URL=http://localhost:3000
|
|
OIDC_ISSUER=https://auth.example.com
|
|
OIDC_CLIENT_ID=
|
|
OIDC_CLIENT_SECRET=
|
|
# Optional, comma-separated: only these groups may log in
|
|
OIDC_ALLOWED_GROUPS=
|
|
|
|
# Optional: pin an image version (default: latest)
|
|
# KANAME_VERSION=0.22.0
|
|
# Optional: user/group Kaname runs as (default 1000); set to the owner of your models folder
|
|
# PUID=1000
|
|
# PGID=1000
|
|
# Optional: launch80.com publish token, to publish benchmark runs
|
|
# L80_TOKEN=
|