
hetsh/jellyfinEasy to set up Jellyfin media server.
bashdocker run --detach --name jellyfin --publish 8096:8096 hetsh/jellyfin
bashdocker stop jellyfin
Jellyfin is configured via its web interface. A configuration wizard will guide you through the initial setup if you run the server for the first time.
bashDATA_STORAGE="/path/to/data" CONFIG_STORAGE="/path/to/conf" CACHE_STORAGE="/path/to/data" mkdir -p "$DATA_STORAGE" "$CONFIG_STORAGE" "$CACHE_STORAGE" chown -R 1365:1365 "$DATA_STORAGE" "$CONFIG_STORAGE" "$CACHE_STORAGE"
1365 is the numerical id of the user running the server (see Dockerfile).
The user must have RW access to the storage directories.
Start the server with the additional mount flags:
bashdocker run \ --mount type=bind,source=/path/to/data,target=/var/lib/jellyfin \ --mount type=bind,source=/path/to/conf,target=/etc/jellyfin \ --mount type=bind,source=/path/to/cache,target=/var/cache/jellyfin ...
Media can be mounted anywhere, as long as it is readable by the jellyfin user (uid: 1365):
bashdocker run --mount type=bind,source=/path/to/media,target=/media ...
Synchronizing the timezones will display the correct time in the logs. The timezone can be shared with this mount flag:
bashdocker run --mount type=bind,source=/etc/localtime,target=/etc/localtime,readonly ...
The systemd unit can be found in my GitHub repository.
bashsystemctl enable jellyfin --now
By default, the systemd service assumes some custom paths for data, cache, config, media and /etc/localtime for timezone.
Since this is a personal systemd unit file, you might need to adjust some parameters to suit your setup.
This is an open project hosted on GitHub. Please feel free to ask questions, file an issue or contribute to it.



manifest unknown 错误
TLS 证书验证失败
DNS 解析超时
410 错误:版本过低
402 错误:流量耗尽
身份认证失败错误
429 限流错误
凭证保存错误
来自真实用户的反馈,见证轩辕镜像的优质服务