AimerNeige 修订了这个 Gist . 转到此修订
1 file changed, 1 insertion, 1 deletion
docker-compose.yml
@@ -8,7 +8,7 @@ services: | |||
8 | 8 | volumes: | |
9 | 9 | - ./config:/config | |
10 | 10 | - ./cache:/cache | |
11 | - | - /storage/qBittorrent-nox/storage/qb-files/downloads:/media:ro | |
11 | + | - /storage/meida:/media:ro | |
12 | 12 | # - /path/to/media:/media | |
13 | 13 | # - /path/to/media2:/media2:ro | |
14 | 14 | restart: 'unless-stopped' |
AimerNeige 修订了这个 Gist . 转到此修订
1 file changed, 20 insertions
docker-compose.yml(文件已创建)
@@ -0,0 +1,20 @@ | |||
1 | + | version: '3.5' | |
2 | + | services: | |
3 | + | jellyfin: | |
4 | + | image: jellyfin/jellyfin | |
5 | + | container_name: jellyfin | |
6 | + | user: 1000:1000 | |
7 | + | network_mode: 'host' | |
8 | + | volumes: | |
9 | + | - ./config:/config | |
10 | + | - ./cache:/cache | |
11 | + | - /storage/qBittorrent-nox/storage/qb-files/downloads:/media:ro | |
12 | + | # - /path/to/media:/media | |
13 | + | # - /path/to/media2:/media2:ro | |
14 | + | restart: 'unless-stopped' | |
15 | + | # Optional - alternative address used for autodiscovery | |
16 | + | # environment: | |
17 | + | # - JELLYFIN_PublishedServerUrl=http://example.com | |
18 | + | # Optional - may be necessary for docker healthcheck to pass if running in host network mode | |
19 | + | extra_hosts: | |
20 | + | - "host.docker.internal:host-gateway" |