先保存备用一下,群晖的 docker 拉取失败,还得折腾一下才能安装
services:
plex:
image: linuxserver/plex:latest
container_name: plex
network_mode: host
environment:
- PUID=1026
- PGID=101
- VERSION=latest
- http_proxy=http://10.0.0.2:1080
- https_proxy=http://10.0.0.2:1080
- no_proxy=localhost,127.0.0.1,10.0.0.*,plex.direct,<your_domain>
- TZ=Asia/Shanghai
- LOGVERBOSE=0
- LOGDEBUG=0
volumes:
- /volume2/Plex/:/config/:rw
restart: unless-stopped
PUID 与 PGID 用 id
获取。proxy 使用本地代理,可以解决刮削问题。