赞
踩
- version: '3.7'
- services:
- nas-tools:
- container_name: nas-tools
- hostname: nas-tools
- image: diluka/nas-tools:2.9.1
- ports:
- - "3000:3000"
- volumes:
- - /share/CACHEDEV1_DATA/Container/nastools:/config
- - /share/CACHEDEV3_DATA/Video:/media
- environment:
- - PUID=1000
- - PGID=100
- - UMASK=000
- - NASTOOL_AUTO_UPDATE=false
- restart: unless-stopped
- qbittorrent:
- container_name: qbittorrent
- image: johngong/qbittorrent:4.6.0-4.6.0.10
- environment:
- - QB_WEBUI_PORT=8989
- - QB_EE_BIN=false
- - PUID=1000
- - PGID=100
- - UMASK=022
- - TZ=Asia/Shanghai
- ports:
- - "6881:6881"
- - "8989:8989"
- - "6881:6881/udp"
- volumes:
- - /share/CACHEDEV1_DATA/Container/qbittorrent:/config
- - /share/CACHEDEV3_DATA/Video:/Downloads
- restart: unless-stopped
- jellyfin:
- container_name: jellyfin
- image: nyanmisaka/jellyfin:latest
- environment:
- - PUID=1000
- - PGID=100
- - TZ=Asia/Shanghai
- ports:
- - "8096:8096"
- - "8920:8920"
- volumes:
- - /share/CACHEDEV1_DATA/Container/jellyfin:/config
- - /share/CACHEDEV3_DATA/Video:/medie
- devices:
- - /dev/dri:/dev/dri
- restart: unless-stopped
- chinesesubfinder:
- container_name: chinesesubfinder
- hostname: chinesesubfinder
- image: allanpk716/chinesesubfinder:latest
- volumes:
- - /share/CACHEDEV1_DATA/Container/chinesesubfinder/config:/config
- - /share/CACHEDEV3_DATA/Video/Link:/media
- - /share/CACHEDEV1_DATA/Container/chinesesubfinder/browser:/root/.cache/rod/browser
- environment:
- - PUID=1000
- - PGID=100
- - PERMS=true
- - TZ=Asia/Shanghai
- - UMASK=022
- ports:
- - "19035:19035"
- - "19037:19037"
- logging:
- driver: json-file
- options:
- max-size: "100m"
- jackett:
- container_name: jackett
- image: linuxserver/jackett:latest
- environment:
- - PUID=1000
- - PGID=100
- - TZ=Asia/shanghai
- - AUTO_UPDATE=true
- ports:
- - "9117:9117"
- volumes:
- - /share/CACHEDEV1_DATA/Container/jackett/config:/config
- - /share/CACHEDEV1_DATA/Container/jackett/downloads:/downloads
- restart: unless-stopped

以上YAML代码需要改动:
1,所有“ ports ”下面对应的为端口映射,冒号前面的端口号都可以改动,如果没有和本地容器端口冲突个人建议默认即可,无需改动。
2,所有“ volumes ”下面对应的为路径映射,冒号前面都必须修改为容器对应的NAS本地实际路径,具体的对应关系就按前面准备工作我给出的两个流程图即可。
3,所有“ environment ”下面为容器的环境变量,一般来说直接按我给出的不用改动即可。为了保险起见,我们最好将PUID和PGID修改成自己NAS当前使用的用户名自己的。
两个流程图:
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。