Ayuan’s Proof of Being

Back

MC服务器配置文件#

FRP配置文件#

docker安装命令#

docker run -d \
  --name jellyfin \                             # 容器名称为 jellyfin,便于后续管理(如 docker stop/start jellyfin)
  --user root \                                  # 以 root 用户身份运行容器内进程(确保对挂载目录有权限)
  --net=host \                                   # 网络模式为 host,容器共享宿主机网络,容器内服务可直接使用宿主 IP 访问
  -p 23456:2346 \                                # 端口映射:宿主机 23456 端口映射到容器内 2346 端口(注意此选项在 --net=host 模式下无效)
  -v /Users/ayuan/Docker/jellyfin/config:/config \  
                                                 # 持久化配置目录:将宿主机的配置文件夹挂载到容器 /config
  -v /Users/ayuan/Docker/jellyfin/cache:/cache \  
                                                 # 持久化缓存目录:将宿主机的缓存文件夹挂载到容器 /cache
  --mount type=bind,source=/Users/ayuan/Downloads/xunlei,target=/media \
                                                 # 将本地下载目录绑定挂载到容器 /media,用于 Jellyfin 媒体库
  --restart=unless-stopped \                     # 容器重启策略:除非手动停止,否则 Docker 服务重启时自动重启容器
  jellyfin/jellyfin                              # 使用官方 jellyfin 镜像,最新标签(latest)默认拉取
plaintext
一些配置文件备忘
https://ayuan.ink/blog/something
Author Ayuan
Published at May 7, 2025
Comment seems to stuck. Try to refresh?✨