Jellyfin指南

简介

部署

Docker

docker compose

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
version: "3.9"  # 或者使用你想要的Compose文件版本,例如 "3.8", "3.7" 等

services:
  jellyfin:
    image: jellyfin/jellyfin
    container_name: jellyfin
    #user: 1000:1000      
    network_mode: 'host'    
    volumes:
      - ./config:/config    
      - ./cache:/cache      
      - /mnt/p1:/media      
      #- type: bind
      #  source: ./media    
      #  target: /media     
      #- type: bind
      #  source: ./media2   
      #  target: /media2    
      #  read_only: true    
      # Optional - extra fonts to be used during transcoding with subtitle burn-in
      #- type: bind
      #  source: /path/to/fonts
      #  target: /usr/local/share/fonts/custom
      #  read_only: true
    restart: 'unless-stopped'
    # Optional - alternative address used for autodiscovery
    environment:
      #- JELLYFIN_PublishedServerUrl=http://example.com
      - PUID=0
      - PGID=0
      - TZ=Asia/Shanghai
    # Optional - may be necessary for docker healthcheck to pass if running in host network mode
    #extra_hosts:
    #  - 'host.docker.internal:host-gateway'

访问 ip:8096 打开设置

页面浏览量Loading
网站总访客数:Loading
网站总访问量:Loading
使用 Hugo 构建
主题 StackJimmy 设计
-->