明日复明日,明日何其多。
我生待明日,万事成蹉跎。

Jellyfin 用docker安装

Using Docker Compose:

Create a docker-compose.yml file with the following contents:

version: "3.5"
services:
  jellyfin:
    image: jellyfin/jellyfin
    container_name: jellyfin
    user: uid:gid
    network_mode: "host"
    volumes:
      - /path/to/config:/config
      - /path/to/cache:/cache
      - /path/to/media:/media
      - /path/to/media2:/media2:ro
    restart: "unless-stopped"
    # Optional - alternative address used for autodiscovery
    environment:
      - JELLYFIN_PublishedServerUrl=http://example.com

Then while in the same folder as the docker-compose.yml run:

docker-compose up

To run the container in background add -d to the above command.

You can learn more about using Docker by reading the official Docker documentation.

赞(0) 打赏
未经允许不得转载:致明日 » Jellyfin 用docker安装
分享到: 更多 (0)

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

坚持,总会看见蓝天和白云

联系我们你来了,你就是最棒的!

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏