khord

khord

Docker 应用程序 from khord's Repository

概述

Khord is a self-hosted music sharing app. Share a song once — everyone listens on whichever streaming service they use (Spotify, Apple Music, YouTube Music, Deezer, and more). Setlists, upvoting, cross-platform links, and an admin panel all included. All data stored in a single SQLite database — no external services required. No reverse proxy is included — point your existing Unraid reverse proxy (NGINX Proxy Manager, Swag, Traefik, etc.) at port 3000 on this container. HTTPS is required for a publicly accessible instance.

运行时参数

网络用户界面
http://[IP]:[PORT:3000]/
网络
bridge
外壳
sh
特权
false

模板配置

Web UI PortPorttcp

Port exposed by the container. Point your reverse proxy (NGINX Proxy Manager, Swag, etc.) at this port — do not expose it directly to the internet.

目标
3000
默认值
3000
价值
3000
Data PathPathrw

Directory where the SQLite database and thumbnail cache are stored.

目标
/data
默认值
/mnt/user/appdata/khord/data
价值
/mnt/user/appdata/khord/data
App URLVariable

Publicly accessible URL for this instance, e.g. https://khord.yourdomain.com.

目标
PUBLIC_APP_URL
默认值
https://khord.yourdomain.com
Owner EmailsVariable

Comma-separated email addresses granted admin/owner privileges. The first account registered with a matching email receives the admin role automatically.

目标
OWNER_EMAILS
Spotify Client IDVariable

Spotify app client ID from developer.spotify.com. Optional — enables Spotify URL resolution and playlist import. Both Client ID and Client Secret are required together. After setting, enable Spotify in the admin panel Settings tab.

目标
PUBLIC_SPOTIFY_CLIENT_ID
Spotify Client SecretVariable

Spotify app client secret from developer.spotify.com. Required alongside Spotify Client ID. Keep this private. Note: the account that owns the Spotify app must have an active Spotify Premium subscription.

目标
SPOTIFY_CLIENT_SECRET
YouTube API KeyVariable

YouTube Data API v3 key from console.cloud.google.com. Optional — enables YouTube Music URL resolution when sharing songs. Also enable YouTube Music in the admin panel Settings tab. Note: free quota is ~100 searches/day (100 units per call, 10,000/day limit).

目标
YOUTUBE_API_KEY
Apple Music Developer TokenVariable

MusicKit JWT from developer.apple.com → Keys. Optional — enables Apple Music playlist import. Requires an Apple Developer account ($99/yr). Tokens are valid up to 6 months; regenerate before expiry. After setting, enable in the instance admin panel under Settings.

目标
PUBLIC_APPLE_MUSIC_DEV_TOKEN
Max UsersVariable

Maximum number of registered users. 0 = unlimited. Can also be adjusted live from the /admin panel.

目标
MAX_USERS
默认值
0
价值
0
App NameVariable

Display name shown in the UI and page titles.

目标
PUBLIC_APP_NAME
默认值
Khord
价值
Khord
App TaglineVariable

One-line tagline shown on the home page.

目标
PUBLIC_APP_TAGLINE
默认值
Share music, listen anywhere.
价值
Share music, listen anywhere.
Disable Album ArtVariable

Set to true to hide album art thumbnails on song cards. Can also be toggled live from the /admin panel.

目标
DISABLE_ALBUM_ART
默认值
false
价值
false
ThemeVariable

UI color theme. Requires a container restart to apply. Options — neutral dark: dark, zinc, slate, gray, neutral, stone. Neutral light: light, zinc-light, slate-light, neutral-light, stone-light. Chromatic dark: navy, teal, emerald, rose, violet.

目标
PUBLIC_THEME
默认值
dark
价值
dark
Database File NameVariable

File name of the SQLite database stored in the Data Path directory. Only change this if you need to rename the database file.

目标
INDEXER_DB_NAME
默认值
khord.db
价值
khord.db
Thumbnail Cache DirectoryVariable

Directory for the server-side album art disk cache. Lives inside the Data Path volume by default. Manage cache size from the admin panel (Admin → Cache tab).

目标
THUMBNAIL_CACHE_DIR
默认值
/data/thumbnails
价值
/data/thumbnails

详细信息

存储库
ghcr.io/khordapp/khord:latest
最后更新2026-05-31
初见2026-05-31

在Unraid 上运行 Khord 。

Khord 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。